Action to create a new deployment
Set permissions to write deployments.
permissions:
deployments: write- 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 }}| 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 }} |
| 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.