Skip to content
.gitlab-ci.yml 356 B
Newer Older
Patrik Dufresne's avatar
Patrik Dufresne committed
image: buildpack-deps:stretch

stages:
- publish

github_push:
  stage: publish
  script:
  - git push --force https://${GITHUB_USR}:${GITHUB_PWD}@github.com/ikus060/nagios-plugins.git refs/remotes/origin/${CI_COMMIT_REF_NAME}:refs/heads/${CI_COMMIT_REF_NAME}
  - git push https://${GITHUB_USR}:${GITHUB_PWD}@github.com/ikus060/nagios-plugins.git --tags