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