Commit ee43465d authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

fix deploy script setup

parent a3c2fe1b
Pipeline #9769 passed with stages
in 3 minutes and 27 seconds
......@@ -62,7 +62,9 @@ test_web_backend_database:
deploy_backend_production:
stage: deploy
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- apt-get update -qq
- apt-get install -qq curl
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY" | base64 -d -w 0)
- mkdir -p ~/.ssh
......@@ -84,7 +86,9 @@ deploy_backend_production:
deploy_frontend_production:
stage: deploy
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- apt-get update -qq
- apt-get install -qq curl
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY" | base64 -d -w 0)
- mkdir -p ~/.ssh
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment