Skip to content

Add deploy workflow

Add deploy workflow #2

Workflow file for this run

name: Build and Deploy Quartz Site
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "21"
- name: Install dependencies
run: |
cd quartz
npm install
- name: Build site
run: |
cd quartz
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:

Check failure on line 33 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: quartz/public
force_orphan: true
user_name: github-actions
user_email: github-actions@github.com