variables: GIT_STRATEGY: "none" GIT_SSL_NO_VERIFY: "true" before_script: - apk add bash --update stages: - build - deploy build: stage: build variables: GIT_STRATEGY: "clone" GIT_SUBMODULE_STRATEGY: "recursive" script: - ./.gitlab-ci/scripts/composer.sh config store-auths false - ./.gitlab-ci/scripts/composer.sh config http-basic.git-t3o.typo3.org gitlab-ci-token ${CI_BUILD_TOKEN} - ./.gitlab-ci/scripts/composer.sh install artifacts: paths: - ./ expire_in: '7d' environment: ${CI_BUILD_REF_NAME} deploy-master: stage: deploy script: - ./.gitlab-ci/scripts/deployer.sh ${CI_BUILD_REF_NAME} environment: name: master url: https://t3o-master.typo3.org/ when: manual only: - master deploy-develop: stage: deploy script: - ./.gitlab-ci/scripts/deployer.sh -f/src/data/etc/deployer/ter/deploy.php deploy ${CI_BUILD_REF_NAME} environment: name: develop url: https://t3o-develop.typo3.org/ when: manual only: - develop