Setup GitHub Action

pull/399/head
Jimmy Song 2020-05-22 20:50:49 +08:00 committed by GitHub
parent 3769082dc6
commit 588449b977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

15
.github/workflows/main.yml vendored 100644
View File

@ -0,0 +1,15 @@
name: build-and-deploy
on: push
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Build
run: make build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./_book