Skip to content

Commit 5480d32

Browse files
authored
Update build-deploy.yml
1 parent a2124c2 commit 5480d32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
shell: bash
3838

3939
- name: Build and Test
40-
run: ./gradlew build -x test
40+
run: ./gradlew clean build -x test
4141

4242
- name: Make Zip File
4343
run: |
@@ -58,7 +58,7 @@ jobs:
5858
aws deploy push \
5959
--application-name ${{ env.CODE_DEPLOY_APP_NAME }} \
6060
--ignore-hidden-files \
61-
--s3-location s3://${{ env.BUCKET_NAME }}/$GITHUB_SHA.zip \
61+
--s3-location s3://$BUCKET_NAME/$GITHUB_SHA.zip \
6262
--source ./build/zip
6363
6464
- name: Debug Deployment Group Name
@@ -71,4 +71,4 @@ jobs:
7171
--application-name ${{ env.CODE_DEPLOY_APP_NAME }} \
7272
--deployment-config-name CodeDeployDefault.AllAtOnce \
7373
--deployment-group-name ${{ env.CODE_DEPLOY_DEPLOYMENT_GROUP_NAME }} \
74-
--s3-location bucket=${{ env.BUCKET_NAME }},key=$GITHUB_SHA.zip,bundleType=zip
74+
--s3-location bucket=$BUCKET_NAME,key=$GITHUB_SHA.zip,bundleType=zip

0 commit comments

Comments
 (0)