Skip to content

Release 2.0.17

Release 2.0.17 #28

Workflow file for this run

name: GitHub Pages
# see https://docusaurus.io/docs/deployment#deploying-to-github-pages
on:
workflow_dispatch: # manual trigger
push:
branches:
- main
jobs:
build:
name: Build VitePress site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm install
- name: Build website
run: npm run docs:build
env:
VP_DOMAIN: https://documentation.apeirora.eu/
- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: .vitepress/dist
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4