Skip to content

SMQ-203 - Update architecture docs for SMQ (#201) #4

SMQ-203 - Update architecture docs for SMQ (#201)

SMQ-203 - Update architecture docs for SMQ (#201) #4

Workflow file for this run

name: Deploy Docusaurus to GitHub Pages
# Controls when the action will run
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build the website
run: yarn build
- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: build
deploy:
name: Deploy to GitHub Pages
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
env:
github_token: ${{ secrets.GITHUB_TOKEN }}