File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,13 +67,13 @@ jobs:
6767 - name : Checkout Target Branch
6868 uses : actions/checkout@v4
6969 with :
70- ref : main
71- path : main -branch
72-
73- - name : Deploy to Main Branch
70+ ref : prebuild
71+ path : prebuild -branch
72+
73+ - name : Deploy to prebuild Branch
7474 id : deploy
7575 run : |
76- cd main -branch
76+ cd prebuild -branch
7777
7878 # Efficiently remove old files and copy new ones
7979 git rm -rf . && git clean -fxd
@@ -86,11 +86,11 @@ jobs:
8686 echo "status=no-changes" >> $GITHUB_OUTPUT
8787 else
8888 echo "Changes detected, committing and pushing."
89- git commit -m "docs: Deploy documentation from prebuild branch
89+ git commit -m "docs: Deploy documentation from main branch
9090
9191 Source commit: ${{ github.sha }}
9292 Branch: ${{ github.ref_name }}
9393 Distribution size: $(du -sh ../${{ env.DIST_DIR }} | cut -f1)"
94- git push origin main
94+ git push origin prebuild
9595 echo "status=deployed" >> $GITHUB_OUTPUT
9696 fi
You can’t perform that action at this time.
0 commit comments