Skip to content

Latest commit

 

History

History
126 lines (79 loc) · 6.13 KB

File metadata and controls

126 lines (79 loc) · 6.13 KB

Icon GitHub Action: Deployment - Create deployment

Deployment - Create deployment

Marketplace Release License Stars PRs Welcome GitHub Verified Creator

Overview

Action to create a new deployment

Permissions

Set permissions to write deployments.

permissions:
  deployments: write
  pull-requests: read

Usage

- uses: hoverkraft-tech/ci-github-publish/actions/deployment/create@b2562b46714e535a0113f90f554b55e1248212c1 # 0.26.3
  with:
    # The environment to deploy to
    # This input is required.
    environment: ""

    # The token to use to fetch pull request data. It needs the `deployments: write, pull-requests: read` permissions.
    # Default: `${{ github.token }}`
    token: ${{ github.token }}

Inputs

Input Description Required Default
environment The environment to deploy to true -
token The token to use to fetch pull request data. It needs the deployments: write, pull-requests: read permissions. false ${{ github.token }}

Outputs

Output Description
deployment-id The ID of the created deployment

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.