Skip to content

feat: download summary after sending reporting (#5) #37

feat: download summary after sending reporting (#5)

feat: download summary after sending reporting (#5) #37

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches:
- master
workflow_dispatch:
env:
PUBLIC_URL: ${{ vars.PUBLIC_URL }}
REACT_APP_FRIENDLY_CAPTCHA_SITE_KEY: ${{ vars.REACT_APP_FRIENDLY_CAPTCHA_SITE_KEY }}
REACT_APP_API_SIGNALEMENT_URL: ${{ vars.REACT_APP_API_SIGNALEMENT_URL }}
REACT_APP_API_SIGNALEMENT_SOURCE_ID: ${{ vars.REACT_APP_API_SIGNALEMENT_SOURCE_ID }}
REACT_APP_BAN_PLATEFORME_URL: ${{ vars.REACT_APP_BAN_PLATEFORME_URL }}
REACT_APP_API_ADRESSE_URL: ${{ vars.REACT_APP_API_ADRESSE_URL }}
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Build
run: |
yarn
yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
cname: mes-signalements.mes-adresses.fr
publish_dir: ./build
publish_branch: gh-pages