更新.gitlab-ci.yml文件
This commit is contained in:
+3
-4
@@ -4,10 +4,9 @@ stages:
|
|||||||
deploy_job:
|
deploy_job:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- ls -la
|
- echo "$GITHUB_TOKEN" > /etc/ssl/certs/github_token.pem
|
||||||
- git remote -v
|
- git config --global http.sslCAInfo /etc/ssl/certs/github_token.pem
|
||||||
- git log
|
- git remote add github https://github.com/yun-ink/timerx.git
|
||||||
- git remote add github https://${GITHUB_TOKEN}:@github.com/yun-ink/timerx.git
|
|
||||||
- git remote -v
|
- git remote -v
|
||||||
- git push github master
|
- git push github master
|
||||||
only:
|
only:
|
||||||
|
|||||||
Reference in New Issue
Block a user