Bon allez la
This commit is contained in:
4
.github/workflows/node.js.yml
vendored
4
.github/workflows/node.js.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user