Skip to content

ci(pages): migrate to Node 24, add debug step and update privacy date #2

ci(pages): migrate to Node 24, add debug step and update privacy date

ci(pages): migrate to Node 24, add debug step and update privacy date #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: ['main']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build Tailwind CSS
run: npm run build:css
- name: Debug docs folder
run: |
echo "===== docs folder ====="
ls -la docs
echo "===== tailwind.css content preview ====="
head -n 20 docs/tailwind.css || echo "tailwind.css NOT FOUND"
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs'
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