Skip to content

Merge pull request #7 from forged-org/feature/rtt-docs #6

Merge pull request #7 from forged-org/feature/rtt-docs

Merge pull request #7 from forged-org/feature/rtt-docs #6

Workflow file for this run

name: Release Documentation
on:
workflow_dispatch:
push:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.13'
- name: Build Book
run: mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: book/
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1