Skip to content

Merge pull request #1359 from gnmyt/features/smart-downsampling #24

Merge pull request #1359 from gnmyt/features/smart-downsampling

Merge pull request #1359 from gnmyt/features/smart-downsampling #24

Workflow file for this run

name: Deploy documentation to GitHub
on:
push:
branches: [ "development" ]
paths:
- "docs/**"
- ".github/workflows/upload_docs.yml"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build documentation
run: npx vitepress build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4