Bon allez la

This commit is contained in:
2024-10-20 12:40:53 +02:00
parent 3ac72482b5
commit a2da53912f

View File

@@ -30,7 +30,7 @@ jobs:
- run: npm ci --legacy-peer-deps
- name: Build project
run: npm run build
run: npm run build --if-present
env:
REACT_APP_API_URL: ${{ secrets.REACT_APP_API_URL }}
@@ -39,6 +39,6 @@ jobs:
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx gh-pages -d build -u "github-actions-bot <support+actions@github.com>"
npm run deploy -- -u "github-actions-bot <support+actions@github.com>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}