File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,14 @@ jobs:
5757 sh build_html.sh
5858 - name : Deploy to pages branch
5959 run : |
60- # Create and switch to a new worktree for the pages branch
61- git worktree add --detach pages
62- cd pages
60+ # Create and switch to a new worktree for the openmlsys-book-en branch
61+ git worktree add --detach openmlsys-book-en
62+ cd openmlsys-book-en
6363
64- # Delete pages branch if it exists and create a new orphan branch
65- git fetch origin pages || true
66- git branch -D pages || true
67- git checkout --orphan pages
64+ # Delete openmlsys-book-en branch if it exists and create a new orphan branch
65+ git fetch origin openmlsys-book-en || true
66+ git branch -D openmlsys-book-en || true
67+ git checkout --orphan openmlsys-book-en
6868 git rm -rf . || true
6969
7070 # Copy built documentation
@@ -83,12 +83,12 @@ jobs:
8383 Run ID: ${{ github.run_id }}
8484 Triggered by: ${{ github.event_name }}"
8585
86- # Force push to pages branch
87- git push -f origin pages
86+ # Force push to openmlsys-book-en branch
87+ git push -f origin openmlsys-book-en
8888
8989 # Clean up the worktree
9090 cd ..
91- git worktree remove pages
91+ git worktree remove openmlsys-book-en
9292
9393 - name : Clean up
9494 if : always()
You can’t perform that action at this time.
0 commit comments