Skip to content

Add theme toggle for dark mode #20

Add theme toggle for dark mode

Add theme toggle for dark mode #20

Workflow file for this run

name: pr-check
on:
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
env:
GH_BOT_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
GH_BOT_NAME: "GitHub Action"
HUGO_VERSION: 0.120.4
jobs:
main-root:
runs-on: ubuntu-latest
if: github.repository == 'commonhaus/commonhaus.github.io'
steps:
- id: is-main-root
run: echo "This is 'commonhaus/commonhaus.github.io'"
build:
runs-on: ubuntu-latest
steps:
- name: Setup Deno environment
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
ref: 'main'
- name: Build site
run: deno task build