Skip to content

feat: Add draft functionality and enhance SEO settings #21

feat: Add draft functionality and enhance SEO settings

feat: Add draft functionality and enhance SEO settings #21

Workflow file for this run

name: Deploy Gatsby site to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build Gatsby site
run: pnpm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.SEMANTIC_DEPLOY_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages
force_orphan: true