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
This commit is contained in:
Soitora 2023-09-04 00:05:49 +02:00 committed by GitHub
parent c66eee5e3e
commit 69bcd9178b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}