From d19c950c490acc1d850a262e3e77d28adf554962 Mon Sep 17 00:00:00 2001 From: Lutfi Hakim Date: Thu, 12 Mar 2026 11:28:46 +0700 Subject: [PATCH] fix github issue --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d3ef52a..f4fe650 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,8 @@ jobs: OLD_COMMIT=$(git rev-parse HEAD) # 2. Tarik kode terbaru - git fetch --all + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/rahmagustin/sig-tps.git + git fetch -4 --all git reset --hard origin/main # 3. Ambil ID commit baru