Skip to content

Commit

Permalink
update git action yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thalals committed Feb 19, 2024
1 parent aa81838 commit 5e72fcb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ jobs:
run: aws s3 cp ./deployfile-${{ steps.now.outputs.date }}.zip s3://${{ secrets.S3_DEPLOY_BUCKET }}/deployfile-${{ steps.now.outputs.date }}.zip

- name: Deploy EC2
run: aws deploy create-deployment --application-name ${{ env.AWS_CODE_DEPLOY_APPLICATION }} --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name ${{ env.AWS_CODE_DEPLOY_GROUP }} --s3-location bucket=${{ secrets.S3_DEPLOY_BUCKET }},key=/deployfile-${{ steps.now.outputs.date }}.zip,bundleType=zip

# # The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# # the publishing section of your build.gradle
# - name: Publish to GitHub Packages
# run: ./gradlew publish
# env:
# USERNAME: ${{ github.actor }}
# TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: aws deploy create-deployment --application-name ${{ env.AWS_CODE_DEPLOY_APPLICATION }} --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name ${{ env.AWS_CODE_DEPLOY_GROUP }} --s3-location bucket=${{ secrets.S3_DEPLOY_BUCKET }},key=deployfile-${{ steps.now.outputs.date }}.zip,bundleType=zip


0 comments on commit 5e72fcb

Please sign in to comment.