Deploy github
This commit is contained in:
19
.github/workflows/deploy-github.yml
vendored
Normal file
19
.github/workflows/deploy-github.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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:
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BRANCH: gh-pages
|
||||
FOLDER: dist
|
||||
BUILD_SCRIPT: npm install && npm run build:github
|
||||
Reference in New Issue
Block a user