Skip to content

build(deps): bump rollup from 4.9.0 to 4.22.4 #9

build(deps): bump rollup from 4.9.0 to 4.22.4

build(deps): bump rollup from 4.9.0 to 4.22.4 #9

name: Deploy static content to Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
Docgen:
name: Docgen
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Use Node.js v20
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install Dependencies
run: yarn --immutable
- name: Build documentation
run: yarn docs
- name: Add static files
run: |
printf "User-agent: *\nDisallow:" > docs/robots.txt
cp .gitignore docs/
cp LICENSE.md docs/
cp README.md docs/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4