π
π
π
π
tbm98
Searchβ¦
About
About
Git
Remove a Git Submodule
CI/CD
Setup codemagic auto deploy ios app to Apple connect/testFlight
Deployment
Deploy android app
Deploy ios app
Deploy server laravel using docker on ubuntu
Install Nginx and Letβs Encrypt with Docker β Ubuntu 20.04
Install Docker and Github cli on Ubuntu (21/1/2022)
CircleCI ssh to Ubuntu server to deploy
Powered By
GitBook
CircleCI ssh to Ubuntu server to deploy
1.
β
https://circleci.com/docs/2.0/add-ssh-key/
β
2.
Add public key to
authorized_keys
by:
cat .ssh/id_ed25519.pub > .ssh/authorized_keys
(rename id_ed25519.pub by your public key)
3.
Add a run step
- run:
name: "Prepare Environment"
command: |
if [ -z `ssh-keygen -F '1.1.1.1'` ]; then
ssh-keyscan -H '1.1.1.1' >> ~/.ssh/known_hosts
fi
ssh
[email protected]
'cd src && ./autodeploy.sh'
Rename 1.1.1.1 by your ip server
β
Deployment - Previous
Install Docker and Github cli on Ubuntu (21/1/2022)
Last modified
6mo ago
Copy link