ソースを参照

Update build.yml

guanjinquan 1 年間 前
コミット
3c7dee47ed
1 ファイル変更2 行追加1 行削除
  1. 2 1
      .github/workflows/build.yml

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

@@ -26,7 +26,8 @@ jobs:
         git init 
         git config --global user.name "github-actions[bot]"
         git config --global user.email "${{ secrets.DRAGONOS_EMAIL }}"
-        git branch gh-pages && git checkout gh-pages
+        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