DEPLOY.sh 472 B

12345678910
  1. #!/bin/bash -e
  2. # The purpose of this script is to deploy built and tested code to the staging server.
  3. # You can use a git post-receive hook to update your app afterwards (see ci/Readme.md)
  4. # Add a git remote (see developer docs on continuous integration for help)
  5. git remote add staging $STAGING_REMOTE_REPO
  6. # Push the branch being deployed to the git remote. Also push any annotated tags (with a -m message).
  7. git push --follow-tags --set-upstream staging $BRANCH_NAME