Skip to content

Merge pull request #46 from mrjvs/dev #24

Merge pull request #46 from mrjvs/dev

Merge pull request #46 from mrjvs/dev #24

Workflow file for this run

name: Docs - deploy
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install pnpm packages
run: pnpm install
- name: Build @neato/guider
run: cd packages/guider && pnpm run build
- name: Build
run: cd apps/docs && pnpm run build
- name: Upload site
uses: actions/upload-pages-artifact@v3
with:
path: apps/docs/out
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