Skip to content

feat: updated stack #162

feat: updated stack

feat: updated stack #162

Workflow file for this run

name: github pages
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'yarn'
- run: yarn install
- run: yarn test
- name: Build # builds the docs site with --prefix-paths for gh-pages
run: |
yarn predeploy:prefix
env:
GATSBY_SITE_RECAPTCHA_KEY: ${{ secrets.GATSBY_SITE_RECAPTCHA_KEY }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./www/public