Skip to content

Commit

Permalink
Merge pull request #143 from contember/fix/deploy-dsn
Browse files Browse the repository at this point in the history
fix: rename CONTEMBER_DSN to CONTEMBER_DEPLOY_DSN to align with Contember studio
  • Loading branch information
jonasnobile committed Oct 9, 2023
2 parents d4482bf + 36d0600 commit cacf452
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:4faef77592845fbeaf390c5e86989b1ea493e5d0@example.eu.contembe

## 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 cacf452

Please sign in to comment.