Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85712762
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/.woodpecker/docs.yaml b/.woodpecker/docs.yaml
index e4a035171..cd6312787 100644
--- a/.woodpecker/docs.yaml
+++ b/.woodpecker/docs.yaml
@@ -1,23 +1,47 @@
when:
+ - event: push
+ branch: ${CI_REPO_DEFAULT_BRANCH}
+ path: [ "docs/**" ]
- event: tag
- event: manual
- branch: stable
+ evaluate: 'CI_COMMIT_BRANCH == "stable" || CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH'
labels:
platform: linux/amd64
skip_clone: true
-steps:
- trigger-deploy:
- image: docker.io/woodpeckerci/plugin-trigger:1.1.1
+variables:
+ trigger_settings: &trigger_settings
settings:
- params:
- - BRANCH=stable
deploy: 'docs'
last-successful: true
token:
from_secret:
pleroma-ci-woodpecker-token
repositories:
- pleroma/docs@master
+ docker_image: &docker_image docker.io/woodpeckerci/plugin-trigger:1.1.1
+
+steps:
+ trigger-deploy-stable:
+ when:
+ - event: tag
+ - event: manual
+ branch: stable
+ image: *docker_image
+ settings:
+ <<: *trigger_settings
+ params:
+ - BRANCH=stable
+
+ trigger-deploy-develop:
+ when:
+ - event: push
+ - event: manual
+ branch: ${CI_REPO_DEFAULT_BRANCH}
+ image: *docker_image
+ settings:
+ <<: *trigger_settings
+ params:
+ - BRANCH=develop
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Sep 19, 12:20 PM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1769466
Default Alt Text
(1 KB)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment