Skip to content

Commit 14c1fc5

Browse files
committed
Fix: gradle.yml 수정
1 parent 4b02a5a commit 14c1fc5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/gradle.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
mkdir -p ./src/main/resources
4242
cd ./src/main/resources
4343
touch ./application.yml
44-
echo "${{ secrets.APPLICATION }}" > ./application.yml
44+
echo "${{ secrets.APPLICATION_YML }}" > ./application.yml
4545
4646
- name: Build with Gradle
4747
run: ./gradlew build -x test
@@ -83,6 +83,14 @@ jobs:
8383
zip -r deploy-$IMAGE_TAG.zip ./scripts appspec.yml
8484
aws s3 cp --region ap-northeast-2 --acl private ./deploy-$IMAGE_TAG.zip s3://acc6-s3-dev-an2
8585
86+
- name: github action test
87+
run: |
88+
echo "${{ secrets.APPLICATION }}" > secret_file.txt
89+
IMAGE_TAG=${{ github.sha }}
90+
zip -r deploy-$IMAGE_TAG.zip secret_file.txt
91+
aws s3 cp --region ap-northeast-2 --acl private ./deploy-$IMAGE_TAG.zip s3://acc6-s3-dev-an2
92+
rm secret_file.txt deploy-$IMAGE_TAG.zip
93+
8694
- name: Start CodeDeploy Agent
8795
env:
8896
IMAGE_TAG: ${{ github.sha }}

0 commit comments

Comments
 (0)