BlueGit

timfa frameworkv3

Update .gitlab-ci.yml file

timfa Tim Falken · pushed by timfa

Authored 2024-07-30 · 2 years ago

Hash
845aa0e7cb1fe3c8abcb8f2ecaf22c6d219b0153
Parent
2e551386
1 file changed +7 −1
.gitlab-ci.yml +7 −1
@@ -15,6 +15,8 @@ build_job:
15 15 artifacts:
16 16 paths:
17 17 - js/framework.js
18 reports:
19 dotenv: build_job.env
18 20 only:
19 21 - master # Run this job only when changes are pushed to the master branch
20 22 after_script:
@@ -24,6 +26,8 @@ build_job:
24 26 release_job:
25 27 stage: release
26 28 image: registry.gitlab.com/gitlab-org/release-cli:latest
29 dependencies:
30 - build_job
27 31 script:
28 32 - echo "running release_job for $TAG"
29 33 release:
@@ -36,4 +40,6 @@ release_job:
36 40 - name: 'framework.js'
37 41 url: "https://gitlab.com/${CI_PROJECT_PATH}/-/jobs/$BUILD_JOB_ID/artifacts/file/js/framework.js"
38 42 only:
39 - master # Run this job only when changes are pushed to the master branch
43 - master # Run this job only when changes are pushed to the master branch
44 before_script:
45 - source build_job.env
@@ -15,6 +15,8 @@ build_job:
15 artifacts:
15 artifacts:
16 paths:
16 paths:
17 - js/framework.js
17 - js/framework.js
18 reports:
19 dotenv: build_job.env
18 only:
20 only:
19 - master # Run this job only when changes are pushed to the master branch
21 - master # Run this job only when changes are pushed to the master branch
20 after_script:
22 after_script:
@@ -24,6 +26,8 @@ build_job:
24release_job:
26release_job:
25 stage: release
27 stage: release
26 image: registry.gitlab.com/gitlab-org/release-cli:latest
28 image: registry.gitlab.com/gitlab-org/release-cli:latest
29 dependencies:
30 - build_job
27 script:
31 script:
28 - echo "running release_job for $TAG"
32 - echo "running release_job for $TAG"
29 release:
33 release:
@@ -36,4 +40,6 @@ release_job:
36 - name: 'framework.js'
40 - name: 'framework.js'
37 url: "https://gitlab.com/${CI_PROJECT_PATH}/-/jobs/$BUILD_JOB_ID/artifacts/file/js/framework.js"
41 url: "https://gitlab.com/${CI_PROJECT_PATH}/-/jobs/$BUILD_JOB_ID/artifacts/file/js/framework.js"
38 only:
42 only:
39 - master # Run this job only when changes are pushed to the master branch
43 - master # Run this job only when changes are pushed to the master branch
44 before_script:
45 - source build_job.env