Action to get the environment to deploy regarding the workflow context.
- If the workflow is triggered by an issue event (or pull-request):
If an environement is given, the environment will be set to
environment:issue_number. If no environment is given, the environment will be set toreview-apps:issue_number. - Else if no environment is given, the action will fail.
- uses: hoverkraft-tech/ci-github-publish/actions/deploy/get-environment@b56be562f38e0e3e712f09691a8fe930aae9db1b # 0.22.0
with:
# Environment where to deploy.
environment: ""| Input | Description | Required | Default |
|---|---|---|---|
environment |
Environment where to deploy. | false | - |
| Output | Description |
|---|---|
environment |
The proper environment to deploy to. |
Contributions are welcome! Please see the contributing guidelines for more details.
This project is licensed under the MIT License.
SPDX-License-Identifier: MIT
Copyright © 2026 hoverkraft
For more details, see the license.
This documentation was automatically generated by CI Dokumentor.