Commit bbc2724d authored by Cool Fire's avatar Cool Fire

Add nanobot notification to production deployments

parent 94a3d8bc
Pipeline #377 passed with stages
in 1 minute and 39 seconds
......@@ -58,7 +58,7 @@ deploy_to_production:
url: https://signup.insomnia247.nl
script:
- apt-get update
- apt-get install -y -qq ruby
- apt-get install -y -qq ruby curl
- 'which ssh-agent || (apt-get install -y -qq openssh-client)'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
......@@ -69,3 +69,4 @@ deploy_to_production:
- bash deployment/set_git_tag.sh
- bash deployment/populate_config.sh
- bash deployment/restart_application.sh
- curl -XPOST nanoapi.insomnia247.nl/v1/message -d "key=$NANOBOT_API_KEY&dest=#shells@&message=Deployed new version of signup-site."
Markdown is supported
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