Skip to content

Commit

Permalink
Debugging action
Browse files Browse the repository at this point in the history
  • Loading branch information
IPadawans committed Oct 9, 2023
1 parent 5e97d6d commit 30a4686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/templates/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ runs:
AWS_SECRET_ACCESS_KEY: ${{ inputs.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ inputs.AWS_REGION }}
run: |
aws s3 ls "s3://$BUCKET_NAME"
if ! aws s3 ls "s3://$BUCKET_NAME" 2>/dev/null; then
aws s3api create-bucket --bucket "$BUCKET_NAME"
echo "Bucket '$BUCKET_NAME' created successfully"
Expand Down

0 comments on commit 30a4686

Please sign in to comment.