Skip to content

Merge pull request #137 from wlmac/develop #101

Merge pull request #137 from wlmac/develop

Merge pull request #137 from wlmac/develop #101

Workflow file for this run

name: deploy-to-github-pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
environment: github-pages
strategy:
matrix:
node-version: [18.10.0]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: npm install --legacy-peer-deps
- name: Deploy to GH Pages
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub actions"
git remote set-url origin https://${{ secrets.GH_PAGES_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy