소스 검색

Update build.yml

guanjinquan 1 년 전
부모
커밋
f2e98a4383
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      .github/workflows/build.yml

+ 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 -