Skip to content

feat(site): cartes OG PNG pour l'édifice + fix police Cardo des carte… #30

feat(site): cartes OG PNG pour l'édifice + fix police Cardo des carte…

feat(site): cartes OG PNG pour l'édifice + fix police Cardo des carte… #30

Workflow file for this run

name: Deploy site to GitHub Pages
on:
push:
branches: [master]
paths:
- 'site/**'
- '.github/workflows/deploy.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: site/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: site
- name: Build with Astro
run: npm run build
working-directory: site
- name: Verify internal links (G-008 CI lien-check)
run: npm run verify-links
working-directory: site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: site/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4