Skip to content

Commit

Permalink
ci(icons): upload icons to cloudflare pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jxn-30 committed Dec 30, 2024
1 parent fac8092 commit 1eecbb3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- v2
paths:
- configs/*.json
- .github/workflows/icons.yml

jobs:
icons:
Expand Down Expand Up @@ -59,3 +60,11 @@ jobs:
with:
name: icons
path: png/

- name: 🚀 deploy icons
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.ICONS_UPLOAD_CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.ICONS_UPLOAD_CLOUDFLARE_ACCOUNT_ID }}
command: |
pages deploy png --project-name=better-moodle-icons

0 comments on commit 1eecbb3

Please sign in to comment.