Compare commits
12 Commits
v0.0.16
...
0b1308e8f0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b1308e8f0 | ||
|
|
838d7a42eb | ||
|
|
55b60e06da | ||
|
|
7ee90cba7c | ||
|
|
bbb29459f6 | ||
|
|
f564b38987 | ||
|
|
78cab3ffe2 | ||
|
|
f8dcae93c5 | ||
|
|
244f46418b | ||
|
|
c334f5ec09 | ||
|
|
9579676b0c | ||
|
|
10dd888152 |
@@ -1,8 +1,6 @@
|
||||
when:
|
||||
- event: push
|
||||
branch: [ main ]
|
||||
- event: pull_request
|
||||
- event: manual
|
||||
|
||||
variables:
|
||||
- &node_image node:18-alpine
|
||||
@@ -199,6 +197,9 @@ steps:
|
||||
echo "⏭️ Pas de déclenchement (version_type=none)"
|
||||
fi
|
||||
depends_on: [ commit_tag ]
|
||||
when:
|
||||
- event: never
|
||||
|
||||
|
||||
- name: trigger-deployment2
|
||||
image: woodpeckerci/plugin-trigger
|
||||
@@ -207,6 +208,7 @@ steps:
|
||||
server: https://woodpecker.cicd.exygen.fr
|
||||
# Le token d'API (doit être stocké comme secret)
|
||||
branche: main
|
||||
deploy_pipeline: ${CI_PIPELINE_NUMBER}
|
||||
token:
|
||||
from_secret: woodpecker_token
|
||||
# Le dépôt cible, avec la branche optionnelle (format propriétaire/répertoire[@branche])
|
||||
@@ -220,3 +222,5 @@ steps:
|
||||
wait: true
|
||||
# Déclenche cette étape uniquement après une publication réussie
|
||||
depends_on: [ commit_tag ]
|
||||
when:
|
||||
- event: never
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Documentation: https://woodpecker-ci.org/docs/usage/workflow-syntax
|
||||
|
||||
when:
|
||||
- event: deployment
|
||||
- event: [ deployment,manual ]
|
||||
|
||||
steps:
|
||||
- name: get-artifact
|
||||
|
||||
1
database/src/sql/version-0.0.16-0.0.17.sql
Normal file
1
database/src/sql/version-0.0.16-0.0.17.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- none
|
||||
1
database/src/sql/version-0.0.17-0.0.18.sql
Normal file
1
database/src/sql/version-0.0.17-0.0.18.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- none
|
||||
1
database/src/sql/version-0.0.18-0.0.19.sql
Normal file
1
database/src/sql/version-0.0.18-0.0.19.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- none
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "cicd",
|
||||
"private": true,
|
||||
"version": "0.0.16",
|
||||
"version": "0.0.19",
|
||||
"description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL",
|
||||
"scripts": {
|
||||
"update:patch": "node scripts/update-version.js -patch",
|
||||
|
||||
Reference in New Issue
Block a user