Merge pull request #66 from DeepSpaceHarbor/dependabot/npm_and_yarn/d… #52
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: | |
- demo-content | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Build and Deploy | |
uses: DeepSpaceHarbor/hexo-deploy-action@master | |
env: | |
PERSONAL_TOKEN: ${{ secrets.GHT }} | |
PUBLISH_REPOSITORY: DeepSpaceHarbor/Gradient # 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. |