Skip to content

etc.

etc. #185

Workflow file for this run

name: Déploiement
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
cache-dependency-path: '**/package-lock.json'
node-version: 18
cache: npm
- name: Install dependencies
working-directory: ./web
run: npm ci
- name: Build website
working-directory: ./web
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./web/build