Skip to content

Commit 63e2a42

Browse files
committed
fix ci
1 parent 9d47ea1 commit 63e2a42

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.gitlab/ci/fragments/rules.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010
- if: $CI_COMMIT_BRANCH == "develop"
1111
variables:
1212
RELEASE_NAME: $CI_COMMIT_REF_SLUG
13-
PACKAGE_NAME: "esante-${CI_COMMIT_REF_SLUG}.zip"
13+
PACKAGE_NAME: "esante-ressources-${CI_COMMIT_REF_SLUG}.zip"
1414

1515
# releases branches
1616
.releases:
1717
rules:
1818
- if: $CI_COMMIT_BRANCH == "releases"
1919
variables:
2020
RELEASE_NAME: $CI_COMMIT_REF_SLUG
21-
PACKAGE_NAME: "esante-${CI_COMMIT_REF_SLUG}.zip"
21+
PACKAGE_NAME: "esante-ressources-${CI_COMMIT_REF_SLUG}.zip"
2222

2323
# new tag
2424
.tags:
2525
rules:
2626
- if: $CI_COMMIT_TAG
2727
variables:
2828
RELEASE_NAME: $CI_COMMIT_TAG
29-
PACKAGE_NAME: "esante-${CI_COMMIT_TAG}.zip"
29+
PACKAGE_NAME: "esante-ressources-${CI_COMMIT_TAG}.zip"
3030

3131
# run by a pipeline scheduler name's "audits" on choosen branch
3232
.audits_rules:

.gitlab/ci/fragments/variables.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ variables:
77
# Packaging
88
.package_variables:
99
variables:
10-
PACKAGE_REGISTRY_URL: "https://git.kleegroup.com/api/v4/projects/313/packages/generic/esante"
10+
PACKAGE_REGISTRY_URL: "https://git.kleegroup.com/api/v4/projects/315/packages/generic/esante-ressources"

.gitlab/ci/jobs/4.1-package-generate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- !reference [.build_rules, rules]
66
script:
77
- |
8-
cat <<EOT >> ./web/version.json
8+
cat <<EOT >> ./version.json
99
{
1010
"project": "${CI_PROJECT_NAME}",
1111
"build_date": "$(date +"%Y-%m-%d %H:%M:%S %Z")",
@@ -19,7 +19,7 @@
1919
# Build package
2020
- |
2121
apk add zip
22-
zip -qr ${PACKAGES_NAME} site styleguide version.json \
22+
zip -qr ${PACKAGE_NAME} site styleguide version.json \
2323
-x \*\*/node_modules/\*
2424
artifacts:
2525
paths:

0 commit comments

Comments
 (0)