This repository was archived by the owner on Dec 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 5555 - sudo mv /tmp/mkcert /usr/local/bin
5656 - sudo chmod +x /usr/local/bin/mkcert
5757 script :
58- - - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
58+ - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
5959 - /bin/sh docker-images/export.sh latest --push
60- - - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
60+ - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
6161 - /bin/sh templates/prebuild.sh --push
6262 - yarn oclif-dev pack
6363 deploy :
Original file line number Diff line number Diff line change @@ -125,16 +125,15 @@ export default class StartCmd extends BaseCmd {
125125 const existing = execSync ( this . dockerBin + ' exec ' + containerName + ' cat /home/ce-dev/.ssh/config' ) . toString ( )
126126 const config : Array < string > = [ ]
127127 this . activeProjectInfo . ssh_hosts . forEach ( host => {
128- const dest = '/dev/shm /' + host . host
128+ const dest = '/home/ce- dev/.ssh /' + host . host
129129 const entry = [
130130 'Host ' + host . host ,
131131 'User ' + host . user ,
132132 'IdentityFile ' + dest ,
133133 '' ,
134134 ]
135135 config . push ( ...entry )
136- execSync ( this . dockerBin + ' cp ' + host . src_key + ' ' + containerName + ':/tmp/' + host . host , { stdio : 'inherit' } )
137- execSync ( this . dockerBin + ' exec ' + containerName + ' mv /tmp/' + host . host + ' ' + dest , { stdio : 'inherit' } )
136+ execSync ( this . dockerBin + ' cp ' + host . src_key + ' ' + containerName + ':' + dest , { stdio : 'inherit' } )
138137 } )
139138 fs . writeFile ( this . tmpSSHConfigFile , existing + config . join ( '\n' ) + '\n' , ( ) => {
140139 execSync ( this . dockerBin + ' cp ' + this . tmpSSHConfigFile + ' ' + containerName + ':/home/ce-dev/.ssh/config' , { stdio : 'inherit' } )
You can’t perform that action at this time.
0 commit comments