Skip to content

Commit

Permalink
ci: deploy manually
Browse files Browse the repository at this point in the history
  • Loading branch information
perqin committed Jul 5, 2024
1 parent fb9a433 commit ad47f4f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/hexo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Debug
run: |
id
pnpm store path
# Deploy hexo blog website.
- name: Deploy
id: deploy
uses: zhugleo/deploy-hexo-action@v1.0.5
# Begin: Deploy hexo blog website.
- name: Install hexo-cli
run: pnpm install hexo-cli -g
- name: Sync master branch
uses: actions/checkout@v2
with:
deploy_key: ${{ secrets.DEPLOY_KEY }}
ref: refs/heads/master
path: .deploy_git
- name: Deploy
run: hexo g -d
# End: Deploy hexo blog website.
# Use the output from the `deploy` step(use for test action)
- name: Get the output
run: |
Expand Down

0 comments on commit ad47f4f

Please sign in to comment.