fix(deploy): !secret must be the whole header value, not inline [#734]
gitea got no auth (401: only signed in user) - secrets do not concatenate. Secret now holds the full 'Bearer <token>' header. Detail: https://projects.knownelement.com/issues/734
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
rest:
|
||||
- resource: https://git.knownelement.com/api/v1/repos/KNEL/pfv-bms/commits?limit=1
|
||||
headers:
|
||||
Authorization: Bearer !secret gitea_deploy_watch_token
|
||||
Authorization: !secret gitea_auth_header
|
||||
User-Agent: pfv-bms-deploy-watch
|
||||
scan_interval: 300
|
||||
verify_ssl: true
|
||||
|
||||
Reference in New Issue
Block a user