Skip to content

ci(deps): bump actions/upload-pages-artifact from 3 to 4 (#60) #36

ci(deps): bump actions/upload-pages-artifact from 3 to 4 (#60)

ci(deps): bump actions/upload-pages-artifact from 3 to 4 (#60) #36

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: ["dev"]
paths:
- "src/web/**"
- ".github/workflows/deploy-web.yml"
- "!**.md"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
environment: github-pages
steps:
- uses: actions/checkout@v5
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Build
env:
VITE_SUPABASE_URL: ${{ vars.VITE_SUPABASE_URL }}
VITE_SUPABASE_ANON_KEY: ${{ vars.VITE_SUPABASE_ANON_KEY }}
run: |
cd src/web
deno run compile
deno task build
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: ./src/web/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4