Commit 80c28e0b authored by Valerio Formato's avatar Valerio Formato
Browse files

Test deployment on a harmless path

parent 7ee9e544
Loading
Loading
Loading
Loading
Loading
+19 −1
Original line number Diff line number Diff line
@@ -7,6 +7,9 @@ stages:
  script: 
    - cd docs
    - make html
  artifacts:
    paths:
      - docs/build/html

build:docker:
  <<: *build
@@ -14,3 +17,18 @@ build:docker:
    - docker
  image: sphinxdoc/sphinx
  needs: [ ]

.deploy: &deploy
  stage: deploy
  script:
    - cp -rv docs/build/html ${DEPLOY_PATH}

deploy:prod:
  <<: *deploy
  tags:
    - caesarvm
  # only:
  #   - main
  needs: [ "build:docker" ]
  variables: 
    DEPLOY_PATH: "/test/wiki/docs/build/html"
 No newline at end of file