1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-10-14 11:52:24 +00:00

ci: Build blog automatically on release

This commit is contained in:
2024-11-11 13:06:50 -06:00
parent 0b78517a9d
commit d62e221615
2 changed files with 25 additions and 8 deletions

View File

@@ -62,6 +62,17 @@ jobs:
lang: ${{ matrix.lang }}
context: production
continue-on-error: false
cache: false
build_blog:
needs: submodule
permissions:
contents: read
uses: ./.github/workflows/build-blog.yml
with:
repo: ${{ github.repository }}
ref: ${{ github.ref }}
continue-on-error: false
release:
name: Create release notes
@@ -84,7 +95,7 @@ jobs:
makeLatest: true
deploy:
needs: build
needs: [build, build_blog]
uses: privacyguides/webserver/.github/workflows/deploy-all.yml@main
secrets:
NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }}
@@ -101,5 +112,5 @@ jobs:
cleanup:
if: ${{ always() }}
needs: build
needs: [build, build_blog]
uses: privacyguides/.github/.github/workflows/cleanup.yml@main