Skip to content

Publish github pages #309

Publish github pages

Publish github pages #309

Workflow file for this run

name: Publish github pages
on:
workflow_run:
workflows: [CI]
branches: [main]
types: [completed]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node-env
- run: make github-pages:build
- uses: actions/upload-pages-artifact@v3
with:
path: apps/github-pages/dist
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4