Skip to content

Merge pull request #95 from betagouv/1355-tunnel-de-conversion-de-bou… #62

Merge pull request #95 from betagouv/1355-tunnel-de-conversion-de-bou…

Merge pull request #95 from betagouv/1355-tunnel-de-conversion-de-bou… #62

Workflow file for this run

name: Continuous deployment to github pages https://betagouv.github.io/mes-aides-analytics/
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- name: Build
run: |
npm ci
npm run build
touch out/.nojekyll
- name: Export build
uses: actions/upload-pages-artifact@v1
with:
path: ./out
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
permissions:
contents: read
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2