Skip to content

gh-pages site ⛬

gh-pages site ⛬ #6

Workflow file for this run

name: gh-pages site ⛬
on:
workflow_dispatch:
# Can put this back later if required
# push:
# branches:
# - main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
with:
persist-credentials: false
- name: ⬢ Use Node.js
uses: actions/setup-node@v2
with:
node-version: 16.14.2
- name: Install and Build 🔧
run: yarn && yarn demo:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.6.2
with:
GITHUB_TOKEN: ${{ secrets.GH_PAGES }}
BRANCH: gh-pages
FOLDER: demo/dist
CLEAN: true