fix: secrets
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2022-08-16 17:05:59 +05:30
parent 8335a50308
commit a33d9981bd
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 3 additions and 3 deletions

View file

@ -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 ]

View file

@ -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