Skip to content

Allow specifying filenames for codebase scan #538

Allow specifying filenames for codebase scan

Allow specifying filenames for codebase scan #538

Workflow file for this run

name: Github Pages
on:
pull_request:
push:
branches: "main"
permissions: {}
jobs:
build:
name: "Build Demo site"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # ratchet:exclude
with:
persist-credentials: false
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # ratchet:oven-sh/setup-bun@v2
with:
no-cache: true
- run: bun install --frozen-lockfile
- name: "Build Demo Website"
run: bun build-demo
- name: "Build Render Website"
run: bun build-render
- name: "Build docs"
run: bun docs --out ./dist/demo/docs
- uses: actions/upload-pages-artifact@v3 # ratchet:exclude
with:
path: ./dist/demo
deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # ratchet:exclude