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",