-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Issue: 1291] Update cd-* scripts to deploy staging #1821
Conversation
@@ -20,6 +20,7 @@ on: | |||
type: choice | |||
options: | |||
- dev | |||
- staging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately adding staging
here won't change much. It just makes staging available as an option, but doesn't actually start deploying staging. The line you want to change is down below...
@@ -20,6 +20,7 @@ on: | |||
type: choice | |||
options: | |||
- dev | |||
- staging | |||
- prod | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...the line you want to change is this one down below
environment: ${{ inputs.environment || (github.event_name == 'release' && 'prod') || 'dev' }}
change it to (psuedo-code)
environment: ${{ inputs.environment || (github.event_name == 'release' && 'prod') || ['dev', 'staging'] }}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to do this for the analytics package as well, of course.
@@ -20,6 +20,7 @@ on: | |||
type: choice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to change run-name:
above as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks right 👍🏼 I would just recommend testing it before merging
Summary
Fixes #1291
Fixes #1549
Time to review: 1 min
Changes proposed
staging
input tocd-api
andcd-frontend
filesContext for reviewers
Additional information
N/A