Skip to content

Commit

Permalink
add release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benStre committed Aug 19, 2023
1 parent 0c5dd9e commit 200f61d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
release:
types: [published]

env:
CDN_TOKEN: ${{secrets.CDN_TOKEN}}

jobs:
trigger-cdn-update:
runs-on: ubuntu-latest

steps:
- name: Make CDN Update Request
run: |
curl "https://cdn.unyt.org/update/$GITHUB_REPOSITORY?token=$CDN_TOKEN"

0 comments on commit 200f61d

Please sign in to comment.