diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index c3aa6bd..46ad1c8 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -22,8 +22,8 @@ jobs: - name: Create application-secret-deploy.yml run: | - echo "Decoding SECRET_FILE secret and create application-secret-deploy.yml" - echo "${{ secrets.SECRET_FILE }}" | base64 -d > ./src/main/resources/application-secret-deploy.yml + echo "Decoding SECRET and create application-secret-deploy.yml" + echo "${{ secrets.SECRET }}" | base64 -d > ./src/main/resources/application-secret-deploy.yml - name: Build with Gradle @@ -116,7 +116,6 @@ jobs: username: ${{ secrets.SERVER_USER_NAME }} host: ${{ secrets.LIVE_SERVER_IP }} key: ${{ secrets.SSH_KEY }} - script_stop: true script: | if [ $(sudo docker ps -a -q -f name=${{env.CURRENT_UPSTREAM}}) ]; then sudo docker stop ${{env.CURRENT_UPSTREAM}}