Skip to content

Commit

Permalink
Merge into documentation branch after a release
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Aug 5, 2022
1 parent b4a99e3 commit 42a6bb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: main
fetch-depth: 0 # Full fetch
- uses: actions/download-artifact@v3
with:
name: release
Expand All @@ -127,6 +128,9 @@ jobs:
git add ./CHANGELOG.md
git commit -m "Changelog for $GIT_VERSION"
git push
git checkout production-docs
git merge --no-ff main -m "Release documentation for $GIT_VERSION"
git push
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 42a6bb4

Please sign in to comment.