Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Run Netlify Build Hook after Release (#9937)

* Run Netlify Build Hook after Release

* Add if statement

* Move if statement to job level instead of step
Cette révision appartient à :
Soitora 2023-09-17 18:08:12 +02:00 révisé par GitHub
Parent 6663abebaf
révision 9e04f14a7b
Aucune clé n'a été trouvée pour cette signature dans la base de données
ID de la clé GPG: 4AEE18F83AFDEB23

Voir le fichier

@ -104,3 +104,13 @@ jobs:
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
update-website:
needs: [build]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'tachiyomiorg/tachiyomi'
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 }}