Skip to content

Commit

Permalink
Merge pull request #7 from marinesnow34/main
Browse files Browse the repository at this point in the history
Config: workflow 오류 수정
  • Loading branch information
marinesnow34 authored Nov 3, 2023
2 parents b6f9be6 + aede9d9 commit 9427ebf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Build with Gradle
run: ./gradlew clean build

- name: remove plain.jar
run: rm -rf build/libs/plain.jar

- name: file copy
uses: actions/upload-artifact@v3
with:
Expand All @@ -48,7 +51,7 @@ jobs:
BUCKET_NAME: ${{ secrets.CF_BUCKET_NAME }}
ENDPOINT_URL: ${{ secrets.CF_ENDPOINT_URL }}
run: |
aws s3 sync build/libs/*SNAPSHOT.jar s3://$BUCKET_NAME/java/test_main.jar \
aws s3 sync build/libs/ s3://$BUCKET_NAME/java/main/test \
--endpoint-url $ENDPOINT_URL --delete --exact-timestamps
- name: SSH and deploy
Expand All @@ -60,7 +63,7 @@ jobs:
port: ${{ secrets.PORT }}
timeout: 40s # 30초 기본
script: |
aws s3 sync s3://readyvery-dev-server/java/test_main.jar ./docker/java/test/test_main.jar \
aws s3 sync s3://readyvery-dev-server/java/main/test ./docker/java/test/jar \
--endpoint-url https://29c6e4b55b1ddb8d2b6e69df21141caa.r2.cloudflarestorage.com \
--delete --exact-timestamps
Expand Down

0 comments on commit 9427ebf

Please sign in to comment.