Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8274acfa authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

Move theme to Nextcloud themes directory

parent ee45c314
Loading
Loading
Loading
Loading
+15 −4
Original line number Original line Diff line number Diff line
variables: 
  OCC_ENABLE_AFTER_DEPLOY: 'false'
  APP_NAME: 'Murena'
  
include:
include:
  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
    ref: main
    ref: main
    file: "nc-apps-checkout-deploy.yml"
    file: "nc-apps-checkout-deploy.yml"


.deploy:nextcloud-app-by-checkout:
  script:
    # print var to confirm
    - echo "Deploying $APP_NAME to $CI_ENVIRONMENT_NAME ($DEPLOYMENT_HOST):${DEPLOYMENT_PATH}${APP_PATH}"
    # clone repo to /tmp
    - |
      ssh $SSH_USER@$DEPLOYMENT_HOST /bin/bash -s << EOT
      git clone --depth 1 $CI_REPOSITORY_URL --branch $CI_COMMIT_REF_NAME --single-branch /tmp/${CI_JOB_ID}/${APP_NAME}/snappymail
      sudo rsync -avzh --chown www-data:www-data --delete --exclude '.git*' /tmp/${CI_JOB_ID}/${APP_NAME} ${DEPLOYMENT_PATH}${APP_PATH}
      EOT
    - echo "SUCCESS" > .job_status
  after_script:
    # reading job status, checking it and implementing additional steps
    # are not handled here as rm -rf /tmp/${CI_JOB_ID} will always execute
    - ssh $SSH_USER@$DEPLOYMENT_HOST "rm -rf /tmp/${CI_JOB_ID}"
+80 −80

File changed and moved.

Preview size limit exceeded, changes collapsed.