From f6206c1a1027d31fc074c3ffd9e02cd46bba4432 Mon Sep 17 00:00:00 2001 From: Mirko Racz <123543210+raczmirko@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:33:53 +0200 Subject: [PATCH] fix: moved deploy message from yml to json script definition --- .github/workflows/deploy.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2902065..d2a3110 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,6 +25,6 @@ jobs: - name: Deploy with gh-pages run: | git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - npm run deploy -- -u "github-actions-bot " -m "Auto sync master to gh-pages" + npm run deploy -- -u "github-actions-bot " env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 94d909b..1b99000 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "scripts": { "predeploy": "npm run build", - "deploy": "gh-pages -d build", + "deploy": "gh-pages -d build -m 'Auto sync master to gh-pages'", "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test",