Skip to content

Chore: Readme update #29

Chore: Readme update

Chore: Readme update #29

name: Build and Deploy this site Site
on:
push:
branches:
- main
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Run Gatsby deploy manually'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Gatsby
run: |
npm install -D @playwright/test@latest
npx playwright install
npm install
- name: Build Gatsby site
run: |
npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
folder: public