Skip to content

Version Packages

Version Packages #160

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- 'main'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
pages:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- name: Cache git lfs
uses: actions/cache@v3
with:
path: .yarn/cache
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- run: git lfs pull
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Corepack
run: corepack enable
- name: Install
run: yarn install
- name: Build libraries
run: yarn build
- name: Build documentation
run: yarn docs
- name: Archive documentation
run: tar --directory documentation/www/ -cvf artifact.tar .
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: github-pages
path: ./artifact.tar
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1