Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: node:10.15.3
- pipelines:
- default:
- - step:
- name: Build frontend
- script:
- - mkdir -p ~/.ssh
- - cat my_known_hosts >> ~/.ssh/known_hosts
- - (umask 077 ; echo $SSH_KEY | base64 -di > ~/.ssh/id_rsa)
- - ssh -i ~/.ssh/id_rsa root@{remote server ip address} 'cd /app/react-api && ls -la'
Advertisement
Comments
-
- Enable Pipelines in your Bitbucket repository and configure it using the bitbucket-pipelines. ...
- Add the server (remote) deploy key to the repository.
- Set up the SSH key pair on the repository.
- Add the repository's public key to the server's authorized keys.https://buyozempiconlineireland.org/
Add Comment
Please, Sign In to add comment
Advertisement