File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 8181*  Add variables to not DUPLICATE the code:
8282 *  ` extends: deploy `  - to use deploy stage with variables for each stage (dev/staging/prod)
8383 *  use 5 variables:
84-  *  ` SSH_PRIVATE_KEY ` 
84+  *  ` SSH_KEY ` 
8585 *  ` SERVER_HOST ` 
8686 *  ` DEPLOY_ENV ` 
8787 *  ` APP_PORT ` 
8888 *  ` ENDPOINT ` 
8989*  Hide extended jobs with "."
9090 *  Also comment with "#"
91+ *  Add Manual approval:
92+  *  ` when: manual `  - execute job only after user input
93+ *  Fix GitLab bug with files variables:
94+  *  `  - echo $SSH_KEY | sed -e "s/-----BEGIN RSA PRIVATE KEY-----/&\n/" -e "s/-----END RSA PRIVATE KEY-----/\n&/" -e "s/\S\{64\}/&\n/g" > deploy-key.pem ` 
95+  *  echoing $SSH_KEY variable file and using string concatenation on it to use it's text
9196
9297
9398
                         You can’t perform that action at this time. 
           
                  
0 commit comments