Skip to content

Replace onChange function with on. Fixes #67 #21

Replace onChange function with on. Fixes #67

Replace onChange function with on. Fixes #67 #21

Workflow file for this run

# name: Gatsby Build & Deploy
# on:
# push:
# branches:
# - v3
# pull_request:
# workflow_dispatch:
# jobs:
# deploy:
# runs-on: ubuntu-latest
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Setup Node.js
# uses: actions/setup-node@v3
# with:
# node-version: '16'
# cache: 'yarn'
# - name: Install dependencies
# run: yarn install --immutable
# - name: Build with Gatsby
# run: DOTENV_CONFIG_GH_TOKEN=${{ secrets.JOHNGIO_DEPLOY_PAT }} yarn build
# - name: Deploy to gh-pages branch
# uses: peaceiris/actions-gh-pages@v3
# if: ${{ github.ref == 'refs/heads/main' }}
# with:
# personal_token: ${{ secrets.JOHNGIO_DEPLOY_PAT }}
# publish_dir: ./public
# cname: johng.io