Skip to content

Merge pull request #37 from Anatoly03/ScorpioneOrzion-patch-1 #26

Merge pull request #37 from Anatoly03/ScorpioneOrzion-patch-1

Merge pull request #37 from Anatoly03/ScorpioneOrzion-patch-1 #26

Workflow file for this run

# https://gist.github.com/mikroskeem/fddaf7a4f80959d6e5f4711904885fae
name: "Publish documentation"
on:
push:
branches:
- "main"
jobs:
publish-documentation:
permissions:
id-token: "write"
pages: "write"
environment:
name: "github-pages"
url: "${{ steps.deployment.outputs.page_url }}"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: actions/setup-node@v4
with:
node-version: '21.4.0'
- name: "Install dependencies"
run: npm install
- name: "Build project"
run: npm run build
- name: "Building Documentation"
run: npm run docs
- id: "upload-documentation"
name: "Uploading Pages artifact"
uses: "actions/upload-pages-artifact@v2"
with:
path: "docs/"
- id: "deployment"
name: "Deploy to GitHub Pages"
uses: "actions/deploy-pages@v4"