.gitlab-move-files: image: registry.internal.durp.info/debian:latest script: - ./scripts/gitlab/movefiles.sh artifacts: expire_in: 1 hour paths: - $CI_PROJECT_DIR/output .gitlab-deploy: stage: deploy image: mcr.microsoft.com/powershell:latest script: - ./scripts/gitlab/movefiles.sh environment: name: production url: https://api.durp.info/goapi rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' when: manual needs: - job: version artifacts: true