From a33d9981bda091e038bade56b8a21759d21999b7 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Tue, 16 Aug 2022 17:05:59 +0530 Subject: [PATCH] fix: secrets --- .woodpecker.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index b40d3c2e..821525d1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -15,4 +15,4 @@ pipeline: branch: master commands: - make ci-deploy - secrets: [ gitea_write_deploy_key, librepages_deploy_secret ] + secrets: [ GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ] diff --git a/Makefile b/Makefile index f89f7b65..67c7ce3a 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,8 @@ ci-deploy: ## Deploy from CI/CD. Only call from within CI git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL}" git config --global user.name "${CI_COMMIT_AUTHOR}" ./scripts/ci.sh --commit-files librepages target "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>" - ./scripts/ci.sh --init "$$gitea_write_deploy_key" - ./scripts/ci.sh --deploy ${librepages_deploy_secret} librepages + ./scripts/ci.sh --init "$$GITEA_WRITE_DEPLOY_KEY" + ./scripts/ci.sh --deploy ${LIBREPAGES_DEPLOY_SECRET} librepages ./scripts/ci.sh --clean help: ## Prints help for targets with comments