Skip to content

Commit

Permalink
Update Deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jinseohyun1228 authored Nov 7, 2024
1 parent 6e4f89a commit 7ced774
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ jobs:

- name: Create application.properties from Secrets
run: |
mkdir -p ./src/main/resources # 디렉토리 생성
echo "${{ secrets.APPLICATION }}" > ./src/main/resources/application.properties
cat ./src/main/resources/application.properties
mkdir -p ./boomerang/src/main/resources # 디렉토리 생성
echo "${{ secrets.APPLICATION }}" > ./boomerang/src/main/resources/application.properties
cat ./boomerang/src/main/resources/application.properties
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
run: chmod +x ./boomerang/gradlew

- name: Build with Gradle
run: ./gradlew build -x test
run: ./boomerang/gradlew build -x test

- name: Make zip file
run: zip -r application.zip .
run: zip -r application.zip ./boomerang

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit 7ced774

Please sign in to comment.