From 91906b60e8bbb99d470ebfd86b69277722a8b32a Mon Sep 17 00:00:00 2001 From: Florian Heilmann Date: Mon, 24 Jul 2023 02:10:42 +0200 Subject: [PATCH] Create upload_pr_images.yml --- .github/workflows/upload_pr_images.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/upload_pr_images.yml diff --git a/.github/workflows/upload_pr_images.yml b/.github/workflows/upload_pr_images.yml new file mode 100644 index 0000000000..60fe640665 --- /dev/null +++ b/.github/workflows/upload_pr_images.yml @@ -0,0 +1,17 @@ +on: + workflow_run: + workflows: ["VoronUsers PR CI"] + types: + - completed + +jobs: + upload_imagekit: + if: ${{ github.event.workflow_run.event == 'pull_request' }} + uses: VoronDesign/.github/.github/workflows/upload-artifact-imagekit.yml@main + with: + artifact_name: pr_rotated_stls + images_subfolder: img + imagekit-url-endpoint: https://ik.imagekit.io/vorondesign + secrets: + IMAGEKIT_PRIVATE_KEY: ${{ secrets.IMAGEKIT_PRIVATE_KEY }} + IMAGEKIT_PUBLIC_KEY: ${{ secrets.IMAGEKIT_PUBLIC_KEY }}