godot-shooter / commit
Trying to combine the two stages into one, since most of the current build time is just waiting around.
.gitlab-ci.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e013bb..04349c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,29 +6,19 @@ variables: EXPORT_NAME: shooter stages: - - export - - deploy + - build_and_deploy before_script: - mkdir -v -p build/web -web: - stage: export +build_and_deploy: + stage: build_and_deploy script: - echo "The site will be deployed to $CI_PAGES_URL" - godot -v --export "HTML5" ./build/web/index.html - artifacts: - name: $EXPORT_NAME-$CI_JOB_NAME - paths: - - build/web - -pages: - stage: deploy - dependencies: - - web - script: - mkdir -p public - cp build/web/* public/ -R artifacts: + name: $EXPORT_NAME-$CI_JOB_NAME paths: - - public + - public \ No newline at end of file