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