Skip to content

Latest commit

 

History

History
124 lines (77 loc) · 3.93 KB

File metadata and controls

124 lines (77 loc) · 3.93 KB

Icon GitHub Action: Deployment - Create deployment

Deployment - Create deployment

Marketplace Release License Stars PRs Welcome

Overview

Action to create a new deployment

Permissions

Set permissions to write deployments.

permissions:
  deployments: write

Usage

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

    # The token to use to fetch pull request data. It needs the `pull-requests:read` permission.
    # 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 pull-requests:read permission. 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.