mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-25 07:19:13 +01:00
[refactor] add workflow
This commit is contained in:
parent
794c97ac44
commit
3560c7f6bb
26
.github/workflows/gh-pages-deploy.yml
vendored
Normal file
26
.github/workflows/gh-pages-deploy.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: gh-pages-deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.3.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install and Build
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.3
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: build/web
|
Loading…
Reference in New Issue
Block a user