Browse Source

Update build.yml

guanjinquan 1 year ago
parent
commit
cc72aa7a39
1 changed files with 2 additions and 1 deletions
  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 [email protected]:DragonOS-Community/OS_lab_tutorial.git :gh-pages
+        git push -f origin master:gh-pages
         cd -