docs(about): update about content #5
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: CI | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: yarn | |
- name: Hexo clean | |
run: ./node_modules/.bin/hexo clean | |
- name: Hexo generate | |
run: ./node_modules/.bin/hexo generate | |
- name: Deploy to master | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.CI_TOKEN }} | |
external_repository: BladeCode/BladeCode.github.io | |
publish_branch: master | |
publish_dir: ./public |