Skip to content

Commit b8b80e3

Browse files
committed
chore: add --non-interactive flag to rivet deploy commands (#2658)
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
1 parent 6383f64 commit b8b80e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/content/docs/continuous-delivery.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Deploy to environment
6868
env:
6969
RIVET_CLOUD_TOKEN: ${{ secrets.RIVET_CLOUD_TOKEN }}
70-
run: rivet deploy --environment ${{ github.ref_name }} --extra-tags 'commit=${{ github.sha }}'
70+
run: rivet deploy --non-interactive --environment ${{ github.ref_name }} --extra-tags 'commit=${{ github.sha }}'
7171
```
7272
7373
### Step 4: Push Changes to Your Repository
@@ -123,13 +123,13 @@ To deploy to specific environments regardless of branch name:
123123
if: github.ref == 'refs/heads/main'
124124
env:
125125
RIVET_CLOUD_TOKEN: ${{ secrets.RIVET_CLOUD_TOKEN }}
126-
run: rivet deploy --environment prod --extra-tags 'commit=${{ github.sha }}'
126+
run: rivet deploy --non-interactive --environment prod --extra-tags 'commit=${{ github.sha }}'
127127

128128
- name: Deploy to staging
129129
if: github.ref != 'refs/heads/main'
130130
env:
131131
RIVET_CLOUD_TOKEN: ${{ secrets.RIVET_CLOUD_TOKEN }}
132-
run: rivet deploy --environment staging --extra-tags 'commit=${{ github.sha }}'
132+
run: rivet deploy --non-interactive --environment staging --extra-tags 'commit=${{ github.sha }}'
133133
```
134134
135135
### Using the Latest Build in Your Application

0 commit comments

Comments
 (0)