Action to create a new deployment
Set permissions to write deployments.
permissions:
deployments: write
pull-requests: read- 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 }}| 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 }} |
| Output | Description |
|---|---|
deployment-id |
The ID of the created deployment |
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.