concord-consortium/S3 Deploy
Deploy an SPA to S3 using branch and version sub directories
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 7, 2026
- License
- MIT
Pinned Snippet
uses: concord-consortium/s3-deploy-action@29ba945ba14e5f2703bf5f22e935239267f36f52 # v1.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| awsAccessKeyId | AWS access key id. Not needed if AWS credentials are already configured in the environment (e.g. via aws-actions/configure-aws-credentials). | no | — |
| awsSecretAccessKey | AWS secret access key. Not needed if AWS credentials are already configured in the environment (e.g. via aws-actions/configure-aws-credentials). | no | — |
| bucket | S3 Bucket to deploy files to | yes | — |
| prefix | S3 prefix to prepend to files uploaded to S3 | no | — |
| noPrefix | If "true" the prefix is not used for the top level bucket | no | — |
| topBranches | A JSON array of branch names (without PT number) for which the index-top.html file will be copied to the top. The file name will be [prefix]/index-[branchName].html | no | — |
| workingDirectory | Directory where the build command will be run. Default is the top level. | no | — |
| build | build command to run. Default is 'npm run build' | no | — |
| folderToDeploy | the folder created by the build command that should be deployed. It is relative to the workingDirectory if that is set. Default is 'dist' | no | — |
| maxBranchAge | If present (and it is a valid decimal value) it will be used as the max-age parameter for the aws sync command when copying files for branch deploys. This overrides the built-in value for branch deploys. | no | — |
| maxVersionAge | If present (and it is a valid decimal value) it will be used as the max-age parameter for the aws sync command when copying files for version deploys. This overrides the built-in value for version deploys. | no | — |
| githubToken | GitHub token | no | — |
| deployRunUrl | Templated string for the URL to run the deployed files. The string can contain the following placeholder: __deployPath__ | no | — |
Outputs
| name | description |
|---|---|
| deployPath | An additional path added to the prefix. If it is a tag build it will be '/version/{tag-name}'. If it is a branch build it will be '/branch/{branch-name}'. |
| logUrl | Full URL for the deployment. |