Skip to content

Updated introduction (docs) (#328) #37

Updated introduction (docs) (#328)

Updated introduction (docs) (#328) #37

name: Deploy documentation
on:
push:
branches:
- main
paths:
- '.github/workflows/documentation*.yaml'
- 'documentation/**'
jobs:
deploy:
name: Deploy documentation
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
defaults:
run:
working-directory: ./documentation
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
cache-dependency-path: ./documentation/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./documentation/build
cname: transactionalbox.com