Skip to content

Commit

Permalink
移除gitee的github action
Browse files Browse the repository at this point in the history
  • Loading branch information
maotoumao committed Jan 4, 2025
1 parent d5d6a2f commit 891b835
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ jobs:
BRANCH: gh-pages
FOLDER: docs/.vitepress/dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate knownHost
run: ssh-keyscan gitee.com > giteeKnownHosts
- name: 上传到 Gitee 的 gh-pages 分支
uses: s0/git-publish-subdir-action@develop
env:
REPO: [email protected]:musicfree/MusicFree.git
BRANCH: gh-pages
FOLDER: docs/.vitepress/dist
SSH_PRIVATE_KEY: ${{ secrets.GITEE_DEPLOY_PRIVATE_KEY }}
KNOWN_HOSTS_FILE: giteeKnownHosts
- name: 创建 Gitee Page
uses: yanglbme/gitee-pages-action@main
with:
gitee-username: maotoumao
gitee-password: ${{ secrets.GITEE_PASSWORD }}
gitee-repo: musicfree/MusicFree
branch: gh-pages
# - name: Generate knownHost
# run: ssh-keyscan gitee.com > giteeKnownHosts
# - name: 上传到 Gitee 的 gh-pages 分支
# uses: s0/git-publish-subdir-action@develop
# env:
# REPO: [email protected]:musicfree/MusicFree.git
# BRANCH: gh-pages
# FOLDER: docs/.vitepress/dist
# SSH_PRIVATE_KEY: ${{ secrets.GITEE_DEPLOY_PRIVATE_KEY }}
# KNOWN_HOSTS_FILE: giteeKnownHosts
# - name: 创建 Gitee Page
# uses: yanglbme/gitee-pages-action@main
# with:
# gitee-username: maotoumao
# gitee-password: ${{ secrets.GITEE_PASSWORD }}
# gitee-repo: musicfree/MusicFree
# branch: gh-pages
deploy:
runs-on: ubuntu-latest
needs: buildAndUpdate
Expand Down

0 comments on commit 891b835

Please sign in to comment.