This commit is contained in:
FairyEver
2019-12-15 00:45:37 +08:00
parent 45b1d7a95b
commit bf5d4ab6dd
60 changed files with 10823 additions and 25573 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Deploy Github
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
BUILD_SCRIPT: npm install && npm run build:github
CLEAN: true