From a2da53912fa339d34cbc36efbb9161f275d6bfc5 Mon Sep 17 00:00:00 2001 From: Hugo Pierret Date: Sun, 20 Oct 2024 12:40:53 +0200 Subject: [PATCH] Bon allez la --- .github/workflows/node.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index d902161..d244919 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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 " + npm run deploy -- -u "github-actions-bot " env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}