Skip to content

Commit

Permalink
chore: github action 배포 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeongrok-kim committed Aug 13, 2023
1 parent 2920ab6 commit 22f913e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy.yml
Expand Up @@ -35,6 +35,12 @@ jobs:
# run: ./gradlew bootJar --build-cache -Dorg.gradle.jvmargs=-Xmx4g
run: ./gradlew bootJar --build-cache -Dorg.gradle.jvmargs=-Xmx4g

- name: Cache PhysicalTheraphy build directory
uses: actions/cache@v3
with:
path: ./
key: ${{ runner.os }}-physicaltheraphy-build-cache-${{ steps.short-sha.outputs.sha }}

deploy:
name: Deploy
runs-on: ubuntu-latest
Expand Down Expand Up @@ -66,6 +72,12 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Restore Gradle cache directory
uses: actions/cache@v3
with:
path: ./
key: ${{ runner.os }}-physicaltheraphy-build-cache-${{ steps.short-sha.outputs.sha }}

- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
Expand Down

0 comments on commit 22f913e

Please sign in to comment.