File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 41
41
mkdir -p ./src/main/resources
42
42
cd ./src/main/resources
43
43
touch ./application.yml
44
- echo "${{ secrets.APPLICATION }}" > ./application.yml
44
+ echo "${{ secrets.APPLICATION_YML }}" > ./application.yml
45
45
46
46
- name : Build with Gradle
47
47
run : ./gradlew build -x test
83
83
zip -r deploy-$IMAGE_TAG.zip ./scripts appspec.yml
84
84
aws s3 cp --region ap-northeast-2 --acl private ./deploy-$IMAGE_TAG.zip s3://acc6-s3-dev-an2
85
85
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
+
86
94
- name : Start CodeDeploy Agent
87
95
env :
88
96
IMAGE_TAG : ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments