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 environment is given, the environment will be set to
<environment>:pr-<issue_number>. If no environment is given, the environment will be set toreview-apps:pr-<issue_number>. - Else if no environment is given, the action will fail.
- uses: hoverkraft-tech/ci-github-publish/actions/deploy/get-environment@b2562b46714e535a0113f90f554b55e1248212c1 # 0.26.3
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.