Commit 22539452 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

Update .gitlab-ci.yml file

parent 04d21df3
Loading
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -216,13 +216,12 @@ upload:

pages:
  stage: upload
  # image: curlimages/curl:latest
  needs:
    - job: prepare
      artifacts: true
    - job: build-job
      artifacts: true
  rules:
    - !reference [.default_rules, rules]
  script:
    # Get the previous GitLab Pages content
    # - set +e
@@ -235,11 +234,14 @@ pages:
    # Zip the content and publish the zip again
    - zip -r "content.zip" "public"
    - mv "content.zip" "public/"
    # - mv $SITE_ARCHIVE "public/content.zip"
  artifacts:
    paths:
      - public
  only:
    - tags  
  rules:
    - !reference [.default_rules, rules]
  # only:
    # - tags  

release:
  stage: release