Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Publish

Publish #71

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: node ./generate-library.js
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: generated
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1