mirror of https://github.com/jkjoy/sunpeiwen.git
Update main.yml
This commit is contained in:
parent
979c42547c
commit
befcea80fc
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue