passing token
This commit is contained in:
parent
e28658fc28
commit
181a353f3e
|
@ -183,7 +183,9 @@ steps:
|
||||||
- gitea_oauth2_jwt_secret
|
- gitea_oauth2_jwt_secret
|
||||||
- gitea_mailer_passwd
|
- gitea_mailer_passwd
|
||||||
- gitea_mailer_protocol
|
- gitea_mailer_protocol
|
||||||
|
- runner_registration_token
|
||||||
script:
|
script:
|
||||||
|
- export RUNNER_REGISTRATION_TOKEN=$${RUNNER_REGISTRATION_TOKEN}
|
||||||
- export GITEA_SERVER_LFS_JWT_SECRET=$${GITEA_SERVER_LFS_JWT_SECRET}
|
- export GITEA_SERVER_LFS_JWT_SECRET=$${GITEA_SERVER_LFS_JWT_SECRET}
|
||||||
- export GITEA_SECURITY_SECRET_KEY=$${GITEA_SECURITY_SECRET_KEY}
|
- export GITEA_SECURITY_SECRET_KEY=$${GITEA_SECURITY_SECRET_KEY}
|
||||||
- export GITEA_SECURITY_INTERNAL_TOKEN=$${GITEA_SECURITY_INTERNAL_TOKEN}
|
- export GITEA_SECURITY_INTERNAL_TOKEN=$${GITEA_SECURITY_INTERNAL_TOKEN}
|
||||||
|
@ -226,6 +228,8 @@ steps:
|
||||||
from_secret: gitea-security-secret-key
|
from_secret: gitea-security-secret-key
|
||||||
GITEA_SERVER_LFS_JWT_SECRET:
|
GITEA_SERVER_LFS_JWT_SECRET:
|
||||||
from_secret: gitea-server-lfs-jwt-secret
|
from_secret: gitea-server-lfs-jwt-secret
|
||||||
|
RUNNER_REGISTRATION_TOKEN:
|
||||||
|
from_secret: runner-registration-token
|
||||||
- name: deploy tag ${DRONE_TAG}
|
- name: deploy tag ${DRONE_TAG}
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in New Issue