Skip to content

Merge pull request #5 from notymail/update-nx-workspace-19.5.4 #13

Merge pull request #5 from notymail/update-nx-workspace-19.5.4

Merge pull request #5 from notymail/update-nx-workspace-19.5.4 #13

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup node and pnpm
uses: dafnik/setup-node-pnpm@v3
with:
install-ignore-scripts: true
- name: build docs
run: pnpm exec nx build docs
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist/apps/docs
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
actions: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4