Skip to content

Commit

Permalink
delete ~/.aws credentials after sync just in case :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejarvis committed Aug 22, 2019
1 parent 292d940 commit 85a359d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.7-alpine

LABEL "com.github.actions.name"="S3 Sync"
LABEL "com.github.actions.description"="Sync a directory to a S3 repository"
LABEL "com.github.actions.description"="Sync a directory to a AWS S3 repository"
LABEL "com.github.actions.icon"="refresh-cw"
LABEL "com.github.actions.color"="green"

Expand Down
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ aws s3 sync ${SOURCE_DIR} s3://${AWS_S3_BUCKET} \
--delete \
--region ${AWS_REGION} \
--metadata-directive "REPLACE"

rm -rf ~/.aws

0 comments on commit 85a359d

Please sign in to comment.