Skip to content

Commit

Permalink
ci: Build blog automatically on release
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed Nov 11, 2024
1 parent 0b78517 commit b9fe3da
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ jobs:
context: production
continue-on-error: 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
needs: build
Expand All @@ -84,7 +94,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 }}
Expand All @@ -101,5 +111,5 @@ jobs:

cleanup:
if: ${{ always() }}
needs: build
needs: [build, build_blog]
uses: privacyguides/.github/.github/workflows/cleanup.yml@main

0 comments on commit b9fe3da

Please sign in to comment.