Skip to content

[EVOL]: CLI configuration #1

[EVOL]: CLI configuration

[EVOL]: CLI configuration #1

Workflow file for this run

name: Deploy static content to Pages
on:
push:
branches: [ "main" ]
# 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:
# Creating and Updating documentation
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Installing pnpm
run: npm install -g pnpm
- name: Installing NPM deps
run: pnpm install
- name: Documentation Update
run: pnpm update-docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload only the docs folder
path: './docs'
# Deploy documentation on GitHub Pages
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4