Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable deployments #205

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Enable deployments #205

merged 1 commit into from
Jan 3, 2025

Conversation

ibarrajo
Copy link
Contributor

@ibarrajo ibarrajo commented Jan 3, 2025

Checked environment variables at the build step on the deployment GH action.

Run: https://github.com/cadence-workflow/Cadence-Docs/actions/runs/12602826174/job/35126630404

It's correct, CADENCE_DOCS_URL is redacted automatically since it's stored as a secret.

CADENCE_DOCS_URL is https://***
PROJECT_NAME is Cadence-Docs
BASE_URL is /
ORGANIZATION_NAME is cadence-workflow

In case something goes wrong, it can be deployed from a local environment:

## Production Configuration (.envrc.local)
export CADENCE_DOCS_URL=https://cadenceworkflow.io
export BASE_URL=/
export ORGANIZATION_NAME=cadence-workflow
export PROJECT_NAME=Cadence-Docs

touch static/CNAME
echo "cadenceworkflow.io" > static/CNAME
npm run deploy

@ibarrajo ibarrajo merged commit a643017 into cadence-workflow:master Jan 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants