Parcourir la source

Update build.yml

guanjinquan il y a 1 an
Parent
commit
cc72aa7a39
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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 -