From 729d864398c0ddadac4e4c51a2d15f3119cf37c3 Mon Sep 17 00:00:00 2001 From: Hanjaemo <110653660+Hanjaemo@users.noreply.github.com> Date: Wed, 20 Mar 2024 00:26:07 +0900 Subject: [PATCH] Update cd.yml --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index fa96825a2..ae264daa0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -52,8 +52,8 @@ jobs: sudo fuser -k 80/tcp cd Balance-Talk-Backend git pull --recurse-submodules - ${{ secrets.SUBMODULE_TOKEN }} - ${{ secrets.SUBMODULE_TOKEN }} + git config --global credential.helper store + echo "https://x-access-token:${{ secrets.SUBMODULE_TOKEN }}@github.com" > ~/.git-credentials ./gradlew build cd build/libs sudo nohup java -jar balance-talk-0.0.1-SNAPSHOT.jar &