更新.gitlab-ci.yml文件

This commit is contained in:
Administrator
2023-11-11 08:28:53 +00:00
parent 778bf75650
commit 52ed316cd1
+3 -4
View File
@@ -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: