guanjinquan 1 жил өмнө
parent
commit
f2e98a4383

+ 1 - 3
.github/workflows/build.yml

@@ -28,10 +28,8 @@ jobs:
         git init 
         git config --global user.name "github-actions[bot]"
         git config --global user.email "${{ secrets.DRAGONOS_EMAIL }}"
-        git branch 
-        git branch -m gh-pages && git checkout gh-pages
         git add .
         git commit -m "deploy"
-        git push -f git@github.com:DragonOS-Community/OS_lab_tutorial.git gh-pages
+        git push -f git@github.com:DragonOS-Community/OS_lab_tutorial.git :gh-pages
         cd -