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