Files
eigen/ci/deploy.gitlab-ci.yml
2024-12-09 20:18:18 -08:00

18 lines
561 B
YAML

# Push a nightly tag if the pipeline succeeded.
deploy:tag:nightly:
stage: deploy
image: ubuntu:latest
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update -y
- apt-get install -y --no-install-recommends git
script:
- git tag -f nightly $CI_COMMIT_SHORT_SHA
- git push $EIGEN_CI_GIT_PUSH_URL tag nightly
tags:
- linux
- eigen-runner
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PROJECT_NAMESPACE == "libeigen"
- if: $CI_PIPELINE_SOURCE == "web" && $CI_PROJECT_NAMESPACE == "libeigen"