Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maotoumao authored Nov 11, 2023
1 parent 2479ef9 commit 9bc1c51
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ jobs:
with:
path: docs/.vitepress/dist
- name: Deploy
uses: actions/deploy-pages@v2
- run: git init && git config --global user.email "[email protected]" && git config --global user.name "maotoumao"
working-directory: ./docs/.vitepress/dist
- run: git add -A && git commit -m "Deploy"
working-directory: ./docs/.vitepress/dist
- run: git push -f [email protected]:maotoumao/musicfree.upup.fun.git master:gh-pages
working-directory: ./docs/.vitepress/dist
- run: git push -f [email protected]:musicfree/musicfree.upup.fun.git master:gh-pages
working-directory: ./docs/.vitepress/dist
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: docs/.vitepress/dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


0 comments on commit 9bc1c51

Please sign in to comment.