Skip to content

fix: use undefined instead of null for current_task in demo data #4

fix: use undefined instead of null for current_task in demo data

fix: use undefined instead of null for current_task in demo data #4

Workflow file for this run

name: Deploy Demo to GitHub Pages
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Only one deployment runs at a time; cancel in-progress if a new push lands
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
name: Build web app
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build shared package
run: pnpm --filter @marionette/shared build
- name: Build web app
working-directory: apps/web
run: pnpm build
env:
GITHUB_PAGES: "true"
# GitHub Pages doesn't serve files starting with _ (Vite uses _assets/).
# A .nojekyll file disables Jekyll processing and fixes this.
- name: Add .nojekyll
run: touch apps/web/dist/.nojekyll
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: apps/web/dist
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4