Skip to content

Commit

Permalink
Merge pull request #294 from github/help-improvements
Browse files Browse the repository at this point in the history
Improve `.help` command
  • Loading branch information
GrantBirki authored Aug 9, 2024
2 parents cae4756 + fd9817e commit aaba0a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ It should be noted that anytime you use a `.lock`, `.unlock`, or `.lock --detail

If something goes wrong and you need to redeploy the main/master/base branch of your repository, you can use the following set of commands:

- `.deploy main` - Rolls back to the `main` branch in production
- `.deploy main` - Rolls back to the `main` branch in production (or the defined default environment)
- `.deploy main to <environment>` - Rolls back to the `main` branch in the specified environment
- `.noop main` - Rolls back to the `main` branch in production as a noop deploy
- `.noop main to <environment>` - Rolls back to the `main` branch in the specified environment as a noop deploy
Expand Down
1 change: 1 addition & 0 deletions src/functions/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export async function help(octokit, context, reactionId, inputs) {
- \`${inputs.trigger} ${inputs.stable_branch}\` - Rollback the \`${
inputs.environment
}\` environment to the \`${inputs.stable_branch}\` branch
- \`${inputs.trigger} ${inputs.stable_branch} to <environment>\` - Rollback the specified \`<environment>\` to the \`${inputs.stable_branch}\` branch (long form syntax)
- \`${inputs.noop_trigger}\` - Deploy this branch to the \`${
inputs.environment
}\` environment in noop mode
Expand Down

0 comments on commit aaba0a8

Please sign in to comment.