chore(deps): update actions/upload-artifact action to v4.6.0 (#1834) #896
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: Align gh-pages branch | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
name: Rebase gh-pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: '0' #fetch all history | |
ref: 'gh-pages' | |
- name: Configure git user | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
- name: Rebase on master | |
run: git rebase origin/master | |
- name: Replace version on origin | |
run: git push --force-with-lease |