From b6b17131a823f2a3083834e925b937187ceacbf4 Mon Sep 17 00:00:00 2001 From: qwerty287 Date: Sat, 2 Nov 2024 09:58:46 +0200 Subject: [PATCH 1/2] Fix deployment event note --- docs/docs/20-usage/20-workflow-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/20-usage/20-workflow-syntax.md b/docs/docs/20-usage/20-workflow-syntax.md index 729c02f7508..c1fc2bc3f7d 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. - `cron`: triggered when a cron job is executed. - `manual`: triggered when a user manually triggers a pipeline. From a5e09e19608d3d550a443c926c94583126a9a428 Mon Sep 17 00:00:00 2001 From: qwerty287 Date: Sat, 2 Nov 2024 10:27:10 +0200 Subject: [PATCH 2/2] Add notes --- 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 c1fc2bc3f7d..a3d04da3722 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`: 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 ba45adf87fb..c48cc574a39 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.