From 200f61d59019c69333afafd3b041a601565190fe Mon Sep 17 00:00:00 2001 From: benStre Date: Sat, 19 Aug 2023 14:54:29 +0200 Subject: [PATCH] add release.yml --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..5294a5b --- /dev/null +++ b/.github/workflows/release.yml @@ -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" + \ No newline at end of file