Update main.yml

This commit is contained in:
浪子 2024-05-08 18:58:20 +08:00 committed by GitHub
parent 979c42547c
commit befcea80fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 6 deletions

View File

@ -43,10 +43,11 @@ jobs:
run: |
hexo clean
hexo generate
- name: Deploy
run: |
git config --global user.name "jkjoy"
git config --global user.email "jkjoy@live.cn"
git clone https://github.com/jkjoy/blog2.git .deploy_git
export TZ='Asia/Shanghai'
hexo deploy
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.hexo }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public
commit_message: ${{ github.event.head_commit.message }}