CI: Pass CODECOV_TOKEN via -e

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-08-19 08:40:17 +02:00
parent 4856a0d756
commit f2e52323da

View file

@ -17,7 +17,7 @@ steps:
CODECOV_TOKEN:
from_secret: codecov_token
commands:
- docker-compose -f docker-compose.drone.yml exec -T photoprism make all test-js codecov-token test-codecov install migrate
- docker-compose -f docker-compose.drone.yml exec -e CODECOV_TOKEN=$${CODECOV_TOKEN} -T photoprism make all test-js test-codecov install migrate
when:
branch:
- develop