mirror of https://github.com/docker/docs.git
ci: set aws config for stage env
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
4429162682
commit
73a7690436
|
@ -24,11 +24,11 @@ jobs:
|
|||
DOCS_AWS_REGION=us-east-1
|
||||
if [ "${{ github.ref }}" = "refs/heads/master" ]; then
|
||||
DOCS_URL="https://docs-stage2.docker.com" # TODO: change this to https://docs-stage.docker.com when new env switched and ready
|
||||
DOCS_AWS_IAM_ROLE=""
|
||||
DOCS_S3_BUCKET=""
|
||||
DOCS_AWS_IAM_ROLE="arn:aws:iam::710015040892:role/stage-docs-docker.github.io-20220816140248629900000003"
|
||||
DOCS_S3_BUCKET="stage-docs-docker.github.io"
|
||||
DOCS_S3_CONFIG="s3-config.json"
|
||||
DOCS_CLOUDFRONT_ID=""
|
||||
DOCS_LAMBDA_FUNCTION_REDIRECTS=""
|
||||
DOCS_CLOUDFRONT_ID="E1R7CSW3F0X4H8"
|
||||
DOCS_LAMBDA_FUNCTION_REDIRECTS="DockerDocsRedirectFunction-stage"
|
||||
DOCS_SLACK_MSG="Successfully deployed docs-stage2 from master branch. $DOCS_URL" # TODO: change to "deployed docs-stage" when new env switched and ready
|
||||
elif [ "${{ github.ref }}" = "refs/heads/published" ]; then
|
||||
#JEKYLL_ENV=production # TODO: uncomment when new env switched and ready
|
||||
|
|
Loading…
Reference in New Issue