Skip to content

fix: render dates client-side in browser timezone (#34) #4

fix: render dates client-side in browser timezone (#34)

fix: render dates client-side in browser timezone (#34) #4

Workflow file for this run

name: Build pages
on:
push:
branches: [main]
paths:
- 'posts/*.md'
- 'authors/*.md'
- 'build.js'
- 'package.json'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: node build.js
- name: Commit generated files
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add index.html sitemap.xml posts/ tags/ authors/
git diff --staged --quiet || (git commit -m "build: regenerate all pages [skip ci]" && git push)