From 284f5fbc31b502cbae26f1bf9893e49a83d300a2 Mon Sep 17 00:00:00 2001 From: Yehyoung Kang Date: Fri, 10 Jun 2022 18:26:40 +0900 Subject: [PATCH] ci: set fake Git user for deploying Based on the tip at: - https://github.com/tschaub/gh-pages#deploying-with-github-actions - https://github.com/tschaub/gh-pages/issues/345#issuecomment-608243163 --- .github/workflows/publish-demo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-demo.yml b/.github/workflows/publish-demo.yml index ae45a7b..0935bad 100644 --- a/.github/workflows/publish-demo.yml +++ b/.github/workflows/publish-demo.yml @@ -18,4 +18,4 @@ jobs: - name: Configure Git for pushing commits # Embed the access token directly into the remote URL so that the gh-pages library can pick it up run: git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git - - run: npm run deploy + - run: npm run deploy -- -u 'github-actions-bot '