Skip to content

Latest commit

 

History

History
113 lines (70 loc) · 3.56 KB

File metadata and controls

113 lines (70 loc) · 3.56 KB

Icon GitHub Action: Deploy - Get Environment

Deploy - Get Environment

Marketplace Release License Stars PRs Welcome

Overview

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 to review-apps:issue_number.
  • Else if no environment is given, the action will fail.

Usage

- uses: hoverkraft-tech/ci-github-publish/actions/deploy/get-environment@b56be562f38e0e3e712f09691a8fe930aae9db1b # 0.22.0
  with:
    # Environment where to deploy.
    environment: ""

Inputs

Input Description Required Default
environment Environment where to deploy. false -

Outputs

Output Description
environment The proper environment to deploy to.

Contributing

Contributions are welcome! Please see the contributing guidelines for more details.

License

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.