Skip to content

Commit 5e528d1

Browse files
committed
improve deploy ci stage
1 parent 702ef60 commit 5e528d1

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ package:
445445
only:
446446
- tags
447447

448-
release:gitlab:
448+
deploy:gitlab:
449449
stage: deploy
450450
tags:
451451
- linux
@@ -468,10 +468,14 @@ release:gitlab:
468468
--assets-link "{\"name\":\"gams_transfer_matlab_macos.zip\",\"url\":\"${PACKAGE_REGISTRY_URL}gams_transfer_matlab_macos.zip\"}" \
469469
--assets-link "{\"name\":\"gams_transfer_matlab_macos_arm.zip\",\"url\":\"${PACKAGE_REGISTRY_URL}gams_transfer_matlab_macos_arm.zip\"}" \
470470
--assets-link "{\"name\":\"gams_transfer_matlab_windows.zip\",\"url\":\"${PACKAGE_REGISTRY_URL}gams_transfer_matlab_windows.zip\"}"
471+
- mv build/doc/html public/
472+
artifacts:
473+
paths:
474+
- public
471475
only:
472476
- tags
473477

474-
release:github:
478+
deploy:github:
475479
stage: deploy
476480
tags:
477481
- linux
@@ -505,18 +509,3 @@ release:github:
505509
done
506510
only:
507511
- tags
508-
509-
pages:
510-
stage: deploy
511-
tags:
512-
- linux
513-
image:
514-
name: alpine
515-
script:
516-
- mv build/doc/html public/
517-
artifacts:
518-
paths:
519-
- public
520-
only:
521-
- master
522-
- tags

0 commit comments

Comments
 (0)