mirror of
https://github.com/mihonapp/mihon-preview.git
synced 2025-11-09 13:19:13 +01:00
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:
9
.github/workflows/build_app.yml
vendored
9
.github/workflows/build_app.yml
vendored
@@ -145,3 +145,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
keep_latest: 28
|
keep_latest: 28
|
||||||
delete_tags: true
|
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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user