Skip to content

Build

Build #1864

Workflow file for this run

name: Build
on:
push:
branches:
- master
schedule:
- cron: '0 21 * * *'
workflow_dispatch:
jobs:
build:
# Pinning to 22.04 due to:
# https://github.com/puppeteer/puppeteer/issues/12818#issuecomment-2415314103
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/[email protected]
- run: pip install fonttools
- uses: actions/setup-node@v2
- name: Reconfigure git to use HTTP authentication (actions/setup-node#214)
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- run: npm ci
- run: npm run build
- run: npm run opt
- uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site