Skip to content

Commit

Permalink
add upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
tokyo2006 committed Mar 6, 2024
1 parent af7de56 commit a2529df
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/upload_svg.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]

- name: upload
uses: emmanuelgautier/[email protected]
with:
cloud-name: ${{ secrets.CLOUDINARY_CLOUD_NAME }}
api-key: ${{ secrets.CLOUDINARY_API_KEY }}
api-secret: ${{ secrets.CLOUDINARY_API_SECRET }}
image: "./keymap-drawer/cygnus.svg"

0 comments on commit a2529df

Please sign in to comment.