Create upload_pr_images.yml

This commit is contained in:
Florian Heilmann 2023-07-24 02:08:31 +02:00 committed by GitHub
parent 282e5cdaa1
commit 9e9618b780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
.github/workflows/upload_pr_images.yml vendored Normal file
View File

@ -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 }}