18 lines
459 B
YAML
18 lines
459 B
YAML
name: GitHub Actions Build and Deploy linux-command
|
|
on: [push]
|
|
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 }}
|
|
BASE_BRANCH: master
|
|
BRANCH: gh-pages
|
|
FOLDER: .deploy
|
|
BUILD_SCRIPT: npm install && npm run build
|