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 - run: npm ci --legacy-peer-deps
- name: Build project - name: Build project
run: npm run build run: npm run build --if-present
env: env:
REACT_APP_API_URL: ${{ secrets.REACT_APP_API_URL }} REACT_APP_API_URL: ${{ secrets.REACT_APP_API_URL }}
@@ -39,6 +39,6 @@ jobs:
- name: Deploy with gh-pages - name: Deploy with gh-pages
run: | run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git 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: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}