Skip to content

chore: drop dependency on pkg:equitable #371

chore: drop dependency on pkg:equitable

chore: drop dependency on pkg:equitable #371

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
- uses: actions/cache@v5
with:
path: ~/.pub-cache
key: pub-docs-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
pub-docs-
pub-
- run: dart pub global activate melos
- run: melos bootstrap
- name: Generate documentation
run: melos run docs --no-select
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: doc
deploy:
name: Deploy to GitHub Pages
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4