Skip to content

Commit

Permalink
npm run deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjiansu committed May 29, 2024
1 parent 2078f35 commit b9bb142
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
git config --global user.name 'fengjiansu'
git config --global user.email '[email protected]'
- name: Deploy Hexo
- name: Configuration environment
env:
HEXO_DEPLOY_PRI: ${{secrets.HEXO_DEPLOY_PRI}}
run:
Expand All @@ -56,6 +56,7 @@ jobs:
echo "$HEXO_DEPLOY_PRI" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan github.com >> ~/.ssh/known_hosts
npx hexo clean
npx hexo generate
npx hexo deploy

- name: Deploy hexo
run: |
npm run deploy

0 comments on commit b9bb142

Please sign in to comment.