Hi,
How to hard code username and password in yml file to connect circleci server to another server.
Hi,
How to hard code username and password in yml file to connect circleci server to another server.
You probably don’t want to hard-code sensitive information like passwords in your config.yml, instead you could set an environment variable
and reference that in your jobs.
live-deploy:
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/deploy
steps:
- run: my-cli -u ${USERNAME} -p ${PASSWORD}
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.