I have some secrets stored at the repository level.
my .drone.yml
kind: pipeline type: docker name: tests workspace: path: /var/www/html environment: SS_DATABASE_PASSWORD: from_secret: SS_DATABASE_PASSWORD
assuming that the environment variable SS_DATABASE_PASSWORD will be set from secrets.
and available in all steps. If this is not possible, what is the reasoning for not allowing it?
I get the following error:
tests: yaml: unmarshal errors: line 8: cannot unmarshal !!map into string tests: Error