Skip to content

Merge pull request #132 from BadIdeaFactory/louh/refactor #17

Merge pull request #132 from BadIdeaFactory/louh/refactor

Merge pull request #132 from BadIdeaFactory/louh/refactor #17

Workflow file for this run

name: Publish
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
name: Build and deploy Gatsby site
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Install Project Dependencies
run: yarn install
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
yarn deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}