Skip to content

Commit

Permalink
chore: Purge jsDelivr cache using List-KR/jsdelivr-purge #171
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 authored Dec 30, 2023
1 parent 738164d commit 28c7df1
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
upload:
name: Upload Assets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -43,7 +44,18 @@ jobs:
packages/PretendardJP-${{ env.RELEASE_NAME }}.zip
packages/PretendardStd-${{ env.RELEASE_NAME }}.zip
packages/PretendardGOV-${{ env.RELEASE_NAME }}.zip
- name: Purge jsDelivr cache
run: |
curl https://purge.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static
curl https://purge.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable
jsdelivrpurge:
name: Purge jsDelivr cache
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
needs: upload
steps:
- name: Set up NodeJS LTS
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Run jsDelivr-Purge
uses: List-KR/[email protected]

0 comments on commit 28c7df1

Please sign in to comment.