Skip to content

deps: update dependencies to latest (#392) #26

deps: update dependencies to latest (#392)

deps: update dependencies to latest (#392) #26

Workflow file for this run

name: Deploy Website
on:
push:
branches: [main]
paths: ['web/**']
workflow_dispatch:
workflow_call:
permissions:
contents: read
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
# Skip push-triggered runs from automated release commits. The release
# workflow calls deploy-web.yml via workflow_call — an independent
# push-triggered run would be a duplicate.
if: >-
github.event_name != 'push' ||
github.actor != 'github-actions[bot]'
steps:
# Pin actions to full SHA for supply-chain security.
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
working-directory: web
run: npm ci
- name: Build
working-directory: web
run: npx astro build
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: web/dist
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0