27 lines
580 B
YAML
27 lines
580 B
YAML
|
name: Build and Deploy Edge version to GH Pages
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
- master
|
||
|
jobs:
|
||
|
build-and-deploy:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout 🛎️
|
||
|
uses: actions/checkout@v2.3.1
|
||
|
- uses: actions/setup-node@v2
|
||
|
with:
|
||
|
node-version: "14"
|
||
|
- name: Install and Build 🔧
|
||
|
run: |
|
||
|
yarn install
|
||
|
yarn build
|
||
|
|
||
|
- name: Deploy 🚀
|
||
|
uses: JamesIves/github-pages-deploy-action@4.1.5
|
||
|
with:
|
||
|
branch: gh-pages
|
||
|
folder: build
|