This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from contember/fix/deploy-dsn
fix: rename CONTEMBER_DSN to CONTEMBER_DEPLOY_DSN to align with Contember studio
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|
||
|
@@ -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. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.