diff --git a/Dockerfile b/Dockerfile index 67f80d3..dd4f5b7 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.1" +LABEL version="1.0.2" LABEL repository="https://github.com/jeanlescure/react-deploy-to-s3-action" LABEL homepage="https://jeanlescure.io/" LABEL maintainer="Jean Lescure " diff --git a/README.md b/README.md index afdc84b..e203c3c 100644 --- a/README.md +++ b/README.md @@ -37,23 +37,23 @@ name: Upload Website on: push: branches: - - master + - main jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - uses: jeanlescure/react-deploy-to-s3-action@master + - uses: actions/checkout@main + - uses: jeanlescure/react-deploy-to-s3-action@main with: args: --acl public-read --follow-symlinks --delete env: - NODE_ENV: 'development' # optional: defaults to production + NODE_ENV: development # optional: defaults to production AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: 'us-west-1' # optional: defaults to us-east-1 - SOURCE_DIR: 'bundle' # optional: defaults to public + AWS_REGION: us-west-1 # optional: defaults to us-east-1 + SOURCE_DIR: bundle # optional: defaults to public ``` ### Configuration