From 69bcd9178b8603504c32ae38edf0d73972d3cbc5 Mon Sep 17 00:00:00 2001 From: Soitora Date: Mon, 4 Sep 2023 00:05:49 +0200 Subject: [PATCH] Run Netlify Build Hook after Release (#10) * Run Netlify Build Hook after Release * Normalize step name * Require build-app to finish Apparently they run in parallel unless specified --- .github/workflows/build_app.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_app.yml b/.github/workflows/build_app.yml index 43d9af8..2efce06 100644 --- a/.github/workflows/build_app.yml +++ b/.github/workflows/build_app.yml @@ -145,3 +145,12 @@ jobs: with: keep_latest: 28 delete_tags: true + + update-website: + needs: [build-app] + runs-on: ubuntu-latest + steps: + - name: Trigger Netlify build hook + run: curl -s -X POST -d {} "https://api.netlify.com/build_hooks/${TOKEN}" + env: + TOKEN: ${{ secrets.NETLIFY_HOOK_RELEASE }}