This commit is contained in:
parent
8335a50308
commit
a33d9981bd
2 changed files with 3 additions and 3 deletions
|
@ -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 ]
|
||||
|
|
4
Makefile
4
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
|
||||
|
|
Reference in a new issue