mirror of
https://github.com/rommapp/docs.git
synced 2026-04-23 06:54:41 +00:00
chore: update deployment workflow to fetch and pull changes from main and gh-pages branches
This commit is contained in:
@@ -47,6 +47,11 @@ jobs:
|
||||
git config --global user.name ${{ secrets.GIT_NAME }}
|
||||
git config --global user.email ${{ secrets.GIT_EMAIL }}
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
|
||||
git fetch -a
|
||||
git pull origin main
|
||||
git checkout gh-pages
|
||||
git pull origin gh-pages
|
||||
git checkout main
|
||||
|
||||
- name: Build the documentation
|
||||
run: uv run mike deploy --push ${{ github.event.inputs.version }} latest
|
||||
|
||||
Reference in New Issue
Block a user