Deployments plugin
Update deployments in your forge
plugin-deployments
The extend env plugin extends an existing or creates a new .env
file with additional variables like semver information.
The below pipeline configuration demonstrates simple usage:
steps:
extend-env:
image: woodpeckerci/plugin-deployments
settings:
url: https://may-review-environment.example.com
# action: create # This option is normally not necessary as its auto-detected by the pipeline event
forge_token:
from_secrets: github_token
Settings
Settings | Default | Description |
---|---|---|
ACTION |
create for all pipeline events apart from pull_request_closed => delete |
create or delete a deployment |
NAME |
pull-requests: pr-{pr-number} , tag: {tag-name} , push: `{branch} |
The name of your deployment |
URL |
none | The url to the deployed environment |
FORGE_TOKEN |
none | A token to access the forges api |