From 4287c88bf20e084f1ec8f19f82504405c2b28149 Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 3 Apr 2023 01:38:05 +0000 Subject: [PATCH 1/2] Update '.woodpecker.yml' --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index f6455b6..e54f6b3 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -41,7 +41,7 @@ pipeline: publish: image: git.shrug.pw/neil/containers/woodpecker-ci:latest - secrets: [ssh_key] + secrets: [ssh_key, GITLAB_DEPLOY_TOKEN] environment: - GIT_AUTHOR_NAME="Woody the Woodpecker" - GIT_AUTHOR_EMAIL=ci@shrug.pw -- 2.45.2 From 74fd433dde593c76e22cc3d7243b7ab449f27a3b Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 3 Apr 2023 01:38:44 +0000 Subject: [PATCH 2/2] Update 'deploy.sh' --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 0c8dcc6..e8d611b 100644 --- a/deploy.sh +++ b/deploy.sh @@ -30,6 +30,6 @@ git remote add origin $REMOTE git push -f origin pages curl -X POST --fail \ - -F token=glptt-726b7e0e1a566629fff9e0e4a578fe74b7aca40e \ + -F token=$GITLAB_DEPLOY_TOKEN \ -F ref=main \ https://gitlab.com/api/v4/projects/29559707/trigger/pipeline \ No newline at end of file -- 2.45.2