diff --git a/.github/workflows/upload_svg.yml b/.github/workflows/upload_svg.yml new file mode 100644 index 0000000..4e477d5 --- /dev/null +++ b/.github/workflows/upload_svg.yml @@ -0,0 +1,21 @@ +name: Upload keymap svg +on: + workflow_dispatch: + push: + paths: + - "keymap-drawer/cygnus.svg" + +jobs: + build: + runs-on: ubuntu-latest + environment: prod + steps: + - uses: actions/checkout@v3.5.2 + + - name: upload + uses: emmanuelgautier/cloudinary-upload-action@v1.0 + with: + cloud-name: ${{ secrets.CLOUDINARY_CLOUD_NAME }} + api-key: ${{ secrets.CLOUDINARY_API_KEY }} + api-secret: ${{ secrets.CLOUDINARY_API_SECRET }} + image: "./keymap-drawer/cygnus.svg"