Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
w-seok committed Apr 6, 2024
1 parent 3028e6f commit 15e0ff0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,9 @@ jobs:
.build/jar/*.jar
key: ${{ inputs.CACHE_KEY }}

# - name: JAR 배치 - API
# run: |
# mv .build/jar/api.jar cicd/api/codedeploy/api.jar

- name: 파일 및 디렉토리 확인 및 이동
- name: JAR 배치 - API
run: |
if [ ! -f ".build/jar/api.jar" ]; then
echo "Error: .build/jar/api.jar does not exist."
exit 1
fi
if [ ! -d "cicd/api/codedeploy" ]; then
echo "Creating directory cicd/api/codedeploy."
mkdir -p cicd/api/codedeploy
fi
mv .build/jar/api.jar cicd/api/codedeploy/api.jar
echo "Move successful."
- run: ls -al
working-directory: cicd/consumer/codedeploy
working-directory: cicd/api/codedeploy
1 change: 1 addition & 0 deletions cicd/api/codedeploy/JAR_HERE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
api.jar 해당위치에 넣어두고 도커 테스트.

0 comments on commit 15e0ff0

Please sign in to comment.