Skip to content

Merge pull request #5 from ashtonqlb/patch-1 #51

Merge pull request #5 from ashtonqlb/patch-1

Merge pull request #5 from ashtonqlb/patch-1 #51

Workflow file for this run

name: deployment
on:
push:
branches: [main]
jobs:
gh-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
cache: 'yarn'
- run: |
if [ -e yarn.lock ]; then
yarn install
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Release to GitHub Pages
env:
USE_SSH: true
GIT_USER: git
run: |
git config --global user.name ${{ github.actor }}
yarn deploy