Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
fix: rename CONTEMBER_DSN to CONTEMBER_DEPLOY_DSN to align with Conte…
Browse files Browse the repository at this point in the history
…mber studio
  • Loading branch information
jonasnobile committed Oct 9, 2023
1 parent d4482bf commit 36d0600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/deploy-github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contember://example:[email protected]

## 2. Create repository secret

On GitHub go to your repository settings and select Security → Secrets → Actions. Click on "New repository secret" button, name your new secret `CONTEMBER_DSN` and input the Contember DSN you got from Cloud Console.
On GitHub go to your repository settings and select Security → Secrets → Actions. Click on "New repository secret" button, name your new secret `CONTEMBER_DEPLOY_DSN` and input the Contember DSN you got from Cloud Console.

![GitHub actions create secret screen](/assets/github-actions-secret.png)

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
run: npm ci

- name: Build and deploy Contember to production
run: npm run deploy ${{ secrets.CONTEMBER_DSN }} -- --yes
run: npm run deploy ${{ secrets.CONTEMBER_DEPLOY_DSN }} -- --yes
```
Now, when you push to `main` branch, your code should be automatically deployed to Contember Cloud.
Expand Down
Binary file modified static/assets/github-actions-secret.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 36d0600

Please sign in to comment.