parent
8a54cfcd0f
commit
b3fa816d3e
@ -0,0 +1,26 @@
|
|||||||
|
name: Deploy to GH Pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
gh-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@master
|
||||||
|
- name: Setup
|
||||||
|
uses: actions/setup-node@master
|
||||||
|
- name: Install deps
|
||||||
|
run: npm install
|
||||||
|
- name: Build
|
||||||
|
run: npm run build
|
||||||
|
- name: Deploy
|
||||||
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
with:
|
||||||
|
folder: build
|
||||||
Loading…
Reference in new issue