From ac1962bb7b36ee9d8f04cdfd568151c88b90309a Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:36:19 +0200 Subject: [PATCH] Fix deployment event note (#4283) --- docs/docs/20-usage/20-workflow-syntax.md | 2 +- docs/docs/30-administration/11-forges/11-overview.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/docs/20-usage/20-workflow-syntax.md b/docs/docs/20-usage/20-workflow-syntax.md index 729c02f750..a3d04da372 100644 --- a/docs/docs/20-usage/20-workflow-syntax.md +++ b/docs/docs/20-usage/20-workflow-syntax.md @@ -289,7 +289,7 @@ The available events are: - `pull_request_closed`: triggered when a pull request is closed or merged. - `tag`: triggered when a tag is pushed. - `release`: triggered when a release, pre-release or draft is created. (You can apply further filters using [evaluate](#evaluate) with [environment variables](./50-environment.md#built-in-environment-variables).) -- `deployment` (only available for GitHub): triggered when a deployment is created in the repository. +- `deployment`: triggered when a deployment is created in the repository. (This event can be triggered from Woodpecker directly. GitHub also supports webhook triggers.) - `cron`: triggered when a cron job is executed. - `manual`: triggered when a user manually triggers a pipeline. diff --git a/docs/docs/30-administration/11-forges/11-overview.md b/docs/docs/30-administration/11-forges/11-overview.md index ba45adf87f..c48cc574a3 100644 --- a/docs/docs/30-administration/11-forges/11-overview.md +++ b/docs/docs/30-administration/11-forges/11-overview.md @@ -8,6 +8,8 @@ | Event: Tag | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | Event: Pull-Request | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | Event: Release | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: | -| Event: Deploy | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | +| Event: Deploy¹ | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | | [Multiple workflows](../../20-usage/25-workflows.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | [when.path filter](../../20-usage/20-workflow-syntax.md#path) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: | + +¹ The deployment event can be triggered for all forges from Woodpecker directly. However, only GitHub can trigger them using webhooks.