diff --git a/Dockerfile b/Dockerfile index 6cb7eb7..67f80d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ LABEL "com.github.actions.description"="Build a React.js web app and sync to an LABEL "com.github.actions.icon"="upload-cloud" LABEL "com.github.actions.color"="green" -LABEL version="1.0.0" +LABEL version="1.0.1" LABEL repository="https://github.com/jeanlescure/react-deploy-to-s3-action" LABEL homepage="https://jeanlescure.io/" LABEL maintainer="Jean Lescure " diff --git a/entrypoint.sh b/entrypoint.sh index 30f2136..e73cfbf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -39,14 +39,12 @@ ${AWS_REGION} text EOF -# Install dependencies +# - Install dependencies +# - Build react bundle +# - Sync using our dedicated profile and suppress verbose messages. +# All other flags are optional via the `args:` directive. sh -c "yarn" \ -\ -# Build react bundle && -c "${NODE_ENV_PREPEND} yarn build" \ -\ -# Sync using our dedicated profile and suppress verbose messages. -# All other flags are optional via the `args:` directive. && sh -c "aws s3 sync ${SOURCE_DIR:-public} s3://${AWS_S3_BUCKET}/${DEST_DIR} \ --profile react-deploy-to-s3-action \ --no-progress \