Skip to content

docs: align current repository topology (#3) #19

docs: align current repository topology (#3)

docs: align current repository topology (#3) #19

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: SagaSmithAI/sagasmith-dnd-ui
path: dnd-ui
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
- run: npm ci
working-directory: dnd-ui
- run: npm run build
working-directory: dnd-ui
env:
SAGASMITH_UI_BASE: /dnd-ui
SAGASMITH_UI_SITE: https://SagaSmithAI.github.io
PUBLIC_SAGASMITH_LIBRARY_URL: https://SagaSmithAI.github.io/content-library/index.json
- run: cp -R dnd-ui/dist dist/dnd-ui
- uses: actions/upload-pages-artifact@v3
with:
path: dist/
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4