Skip to content

Instantly share code, notes, and snippets.

@1c7
Created February 14, 2019 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1c7/55c9d30415be5100afa3e4d21fc5519c to your computer and use it in GitHub Desktop.
Save 1c7/55c9d30415be5100afa3e4d21fc5519c to your computer and use it in GitHub Desktop.
Buddy ssh script
cd /var/www/
export TAG=${BUDDY_EXECUTION_REVISION_SHORT}
envsubst < docker-stack.yml > file.tmp
sudo docker stack deploy --with-registry-auth --compose-file file.tmp buddy-cd-app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment