Skip to content

Update deploy-pages to v4 #4

Update deploy-pages to v4

Update deploy-pages to v4 #4

Workflow file for this run

name: Github Pages
on:
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:
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