fuzzyworld

godot-shooter / commit

Trying to consolidate jobs.

4931016dde07b17a7e232ad1cfa232d4fc115f19 · Pavel Safronov · 2023-11-05 18:03:43 -0800 · parents 5156ba97da80

Trying to consolidate jobs.
 .gitlab-ci.yml | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7e013bb..eb732f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,27 +6,16 @@ variables:
   EXPORT_NAME: shooter
 
 stages:
-  - export
-  - deploy
+  - pages
 
 before_script:
   - mkdir -v -p build/web
 
-web:
-  stage: export
+pages:
+  stage: pages
   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: