Skip to content

Commit 474b979

Browse files
authored
Merge pull request #4 from techcode-viewer/main
CICD 오류 수정
2 parents f335f61 + eee380c commit 474b979

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/CICD.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222

2323
- name: Create application-secret-deploy.yml
2424
run: |
25-
echo "Decoding SECRET_FILE secret and create application-secret-deploy.yml"
26-
echo "${{ secrets.SECRET_FILE }}" | base64 -d > ./src/main/resources/application-secret-deploy.yml
25+
echo "Decoding SECRET and create application-secret-deploy.yml"
26+
echo "${{ secrets.SECRET }}" | base64 -d > ./src/main/resources/application-secret-deploy.yml
2727
2828
2929
- name: Build with Gradle
@@ -116,7 +116,6 @@ jobs:
116116
username: ${{ secrets.SERVER_USER_NAME }}
117117
host: ${{ secrets.LIVE_SERVER_IP }}
118118
key: ${{ secrets.SSH_KEY }}
119-
script_stop: true
120119
script: |
121120
if [ $(sudo docker ps -a -q -f name=${{env.CURRENT_UPSTREAM}}) ]; then
122121
sudo docker stop ${{env.CURRENT_UPSTREAM}}

0 commit comments

Comments
 (0)