Add github workflows.
This commit is contained in:
parent
3f4a98277b
commit
e2393018b6
|
|
@ -0,0 +1,16 @@
|
||||||
|
name: GitHub Actions Build and Deploy linux-command
|
||||||
|
on: [push, pull_request]
|
||||||
|
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@master
|
||||||
|
env:
|
||||||
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
BRANCH: gh-pages
|
||||||
|
FOLDER: .deploy
|
||||||
|
BUILD_SCRIPT: npm install && npm run build
|
||||||
Loading…
Reference in New Issue