소스 검색

Update build.yml

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

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

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