Skip to content

Merge pull request #36 from tmr232/vscode-layout #138

Merge pull request #36 from tmr232/vscode-layout

Merge pull request #36 from tmr232/vscode-layout #138

Workflow file for this run

name: Github Pages
on:
pull_request:
push:
branches: "main"
jobs:
build:
name: "Build Demo site"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- name: "Build Demo Website"
run: bun build-demo
- uses: actions/upload-pages-artifact@v3
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