heti/.github/workflows/deploy.yml

23 lines
550 B
YAML
Raw Normal View History

2020-02-21 01:18:31 +08:00
name: deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
2020-02-21 01:49:22 +08:00
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
2020-02-21 01:18:31 +08:00
2020-02-21 01:49:22 +08:00
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
2020-02-21 02:21:00 +08:00
FOLDER: _site