Merge pull request #2987 from Gedochao/release/1.4.0 #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Website deploy | |
on: | |
push: | |
branches: | |
- stable | |
jobs: | |
update-website: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: .github/scripts/update-website.sh | |
env: | |
GIT_USER: Virtuslab | |
DEPLOYMENT_BRANCH: gh-pages | |
GIT_PASS: ${{ secrets.GITHUB_TOKEN }} | |
# after the release the PR should be empty | |
- name: Open PR with changes back to main | |
uses: repo-sync/pull-request@v2 | |
with: | |
destination_branch: "main" | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
pr_title: "Back port of documentation changes to main" | |
name: Update stable branch | |
branch: backport/stable |