Browse Source

Update build.yml

guanjinquan 1 year ago
parent
commit
398c15d068
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .github/workflows/build.yml

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

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