From f2af90479aae093a4ef9d0b6ed64c89e12bef188 Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 3 Apr 2023 01:38:59 +0000 Subject: [PATCH] neil-patch-1 (#5) Reviewed-on: https://git.shrug.pw/neil/neilhanlon.me/pulls/5 --- .woodpecker.yml | 2 +- deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 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