For example, I need to run the following command:
- apt-get install sshpass
- sshpass -p $SSH_PASS ssh -o StrictHostKeyChecking=no -p $SSH_PORT $SSH_USER@$SSH_IP 'echo "$SSH_PASS" | sudo -S python3 /var/www/deploy.py -t api -gu $GITUSER -gp $GITPASSWORD'
- echo "Done"
It's okay if I just write the lines I need, but in this form the variables are not interpreted. How do I insert them correctly?
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events