patch: pipeline id
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: [ main ]
|
branch: [ main ]
|
||||||
- event: pull_request
|
|
||||||
- event: manual
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &node_image node:18-alpine
|
- &node_image node:18-alpine
|
||||||
|
|||||||
10
.woodpecker/test.yml
Normal file
10
.woodpecker/test.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
when:
|
||||||
|
- event: [ push, deployment, manual ]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: alpine
|
||||||
|
commands: |
|
||||||
|
echo "Pipeline déclenché !"
|
||||||
|
echo "Event: ${CI_PIPELINE_EVENT}"
|
||||||
|
echo "Deploy to: ${CI_PIPELINE_DEPLOY_TARGET}"
|
||||||
Reference in New Issue
Block a user