Add GitHub action to replace travis

This commit is contained in:
Jakob 2019-09-11 18:08:53 +02:00 committed by GitHub
parent 58fd11bf8f
commit 189e331292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/github-pages.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: GitHub pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build and deploy
uses: JamesIves/github-pages-deploy-action@2.0.0
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: .vuepress/dist
BUILD_SCRIPT: yarn && yarn run build