stages: - deploy deploy_job: stage: deploy script: - echo "$GITHUB_TOKEN" > /etc/ssl/certs/github_token.pem - git config --global http.sslCAInfo /etc/ssl/certs/github_token.pem - git remote remove github || true - git remote add github https://github.com/yun-ink/timerx.git - git remote -v - git checkout -b master - git branch - git push github master only: - master - tags