1021 B
1021 B
Production deploys
For internal Docs relating to our production deploys see [TODO Docs-Engineering URL]
Auto deploys
Pushing to main on docs-internal will automatically kick off a deploy to production.
The status of deployments are posted in the #docs-ops Slack channel.
Building & running the production image locally
Build the production Docker image locally,
docker build -t docs:latest . --secret id=DOCS_BOT_PAT_BASE,src=<(echo "<your GH PAT value>")
Where <your GH PAT value> must be a PAT with contents: read access to:
docs-internal.<lang>for every<lang>translation repodocs-early-access
Run the built image,
docker run -p 4000:4000 docs:latest
Note
We require
DOCKER_BUILDKIT=1to support passing--secretto the Dockerfile which allows us to clone private repos at build time. This is done in Moda via thedocker-build-env-secretsargument in the .github/workflows/moda-ci.yaml workflow.