From 7ee6415d3571261672186eb3e24e718f73f8767c Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Sat, 18 Jan 2025 21:42:24 +0700 Subject: [PATCH] configure git --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1e18cf..043e3c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,10 +135,9 @@ jobs: *.zip - name: Copy installation script to bodo.run run: | - # Copy scripts/install_stop_nagging.sh to bodo-run.github.io repo's public/stop-nagging.sh and commit - # Copy scripts/install_stop_nagging.ps1 to bodo-run.github.io repo's public/stop-nagging.ps1 and commit - - git clone https://github.com/bodo-run/bodo-run.github.io.git + git config --global user.name 'github-actions[bot]' + git config --global user.email 'github-actions[bot]@users.noreply.github.com' + git clone https://${{ secrets.PAT_TOKEN }}@github.com/bodo-run/bodo-run.github.io.git cp scripts/install_stop_nagging.sh bodo-run.github.io/public/stop-nagging.sh cp scripts/install_stop_nagging.ps1 bodo-run.github.io/public/stop-nagging.ps1 COMMIT_SHA=$(git rev-parse HEAD)