Skip to content

Commit e239301

Browse files
committed
Add github workflows.
1 parent 3f4a982 commit e239301

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: GitHub Actions Build and Deploy linux-command
2+
on: [push, pull_request]
3+
jobs:
4+
build-and-deploy:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@master
9+
10+
- name: Build and Deploy
11+
uses: JamesIves/github-pages-deploy-action@master
12+
env:
13+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
14+
BRANCH: gh-pages
15+
FOLDER: .deploy
16+
BUILD_SCRIPT: npm install && npm run build

0 commit comments

Comments
 (0)