mirror of https://github.com/docker/docs.git
ci: update aws config for labs, stage & prod
This commit is contained in:
parent
e097432e2c
commit
bbcbd2adbe
|
@ -24,8 +24,8 @@ 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="arn:aws:iam::710015040892:role/stage-docs-docker.github.io-20220816140248629900000003"
|
||||
DOCS_S3_BUCKET="stage-docs-docker.github.io"
|
||||
DOCS_AWS_IAM_ROLE="arn:aws:iam::710015040892:role/stage-docs-docs.docker.com-20220818202135984800000001"
|
||||
DOCS_S3_BUCKET="stage-docs-docs.docker.com"
|
||||
DOCS_S3_CONFIG="s3-config.json"
|
||||
DOCS_CLOUDFRONT_ID="E1R7CSW3F0X4H8"
|
||||
DOCS_LAMBDA_FUNCTION_REDIRECTS="DockerDocsRedirectFunction-stage"
|
||||
|
@ -33,16 +33,16 @@ jobs:
|
|||
elif [ "${{ github.ref }}" = "refs/heads/published" ]; then
|
||||
#JEKYLL_ENV=production # TODO: uncomment when new env switched and ready
|
||||
DOCS_URL="https://docs2.docker.com" # TODO: change this to https://docs.docker.com when new env switched and ready
|
||||
DOCS_AWS_IAM_ROLE="arn:aws:iam::710015040892:role/prod-docs-docker.github.io-20220816161549883800000001"
|
||||
DOCS_S3_BUCKET="prod-docs-docker.github.io"
|
||||
DOCS_AWS_IAM_ROLE="arn:aws:iam::710015040892:role/prod-docs-docs.docker.com-20220818202218674300000001"
|
||||
DOCS_S3_BUCKET="prod-docs-docs.docker.com"
|
||||
DOCS_S3_CONFIG="s3-config.json"
|
||||
DOCS_CLOUDFRONT_ID="E228TTN20HNU8F"
|
||||
DOCS_LAMBDA_FUNCTION_REDIRECTS="DockerDocsRedirectFunction-prod"
|
||||
DOCS_SLACK_MSG="Successfully deployed docs2 from published branch. $DOCS_URL" # TODO: change to "deployed docs" when new env switched and ready
|
||||
elif [ "${{ github.ref }}" = "refs/heads/lab" ]; then
|
||||
DOCS_URL="https://docs-labs.docker.com"
|
||||
DOCS_AWS_IAM_ROLE="arn:aws:iam::710015040892:role/labs-docs-docker.github.io-20220728143917865600000003"
|
||||
DOCS_S3_BUCKET="labs-docs-docker.github.io"
|
||||
DOCS_AWS_IAM_ROLE="arn:aws:iam::710015040892:role/labs-docs-docs.docker.com-20220818202218402500000001"
|
||||
DOCS_S3_BUCKET="labs-docs-docs.docker.com"
|
||||
DOCS_S3_CONFIG="s3-config.json"
|
||||
DOCS_CLOUDFRONT_ID="E1MYDYF65FW3HG"
|
||||
DOCS_LAMBDA_FUNCTION_REDIRECTS="DockerDocsRedirectFunction-labs"
|
||||
|
|
Loading…
Reference in New Issue