From 52ed316cd12f870c50f94b2677c177d2ede2868b Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 11 Nov 2023 08:28:53 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0.gitlab-ci.yml=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79a5fb3..06be2ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,10 +4,9 @@ stages: deploy_job: stage: deploy script: - - ls -la - - git remote -v - - git log - - git remote add github https://${GITHUB_TOKEN}:@github.com/yun-ink/timerx.git + - echo "$GITHUB_TOKEN" > /etc/ssl/certs/github_token.pem + - git config --global http.sslCAInfo /etc/ssl/certs/github_token.pem + - git remote add github https://github.com/yun-ink/timerx.git - git remote -v - git push github master only: