new post #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Build and Deploy | |
uses: renzhaosy/hexo-deploy-action@master | |
env: | |
PERSONAL_TOKEN: ${{ secrets.HEXO_TOKEN }} | |
PUBLISH_REPOSITORY: darluc/log.zvz.im # The repository the action should deploy to. | |
BRANCH: gh-pages # The branch the action should deploy to. | |
PUBLISH_DIR: ./public # The folder the action should deploy. |