Skip to content

Instantly share code, notes, and snippets.

@DevGW
Last active March 17, 2023 12:16
Show Gist options
  • Save DevGW/23e7ea1ea61ee9e2eae16d39e5db6b55 to your computer and use it in GitHub Desktop.
Save DevGW/23e7ea1ea61ee9e2eae16d39e5db6b55 to your computer and use it in GitHub Desktop.
Module Release Deployment #hha_ank

Deploying release for Modules

Billing

If you haven't already set your github user email globally

git config --global user.email "[email protected]"

Clean Working tree

git stash --include-untracked
git pull
git reset --hard origin/develop # replace develop with whatever branch you are deploying

Make sure your ssh key is added to the agent

eval `ssh-agent-s` && ssh-add /root/.ssh/YOUR_SSH_KEY_FOR_CLIENT
  • using deployer gem:
ssh-add && \
bundle exec client_deployer --client springbrook --environment staging --deploy-target feature/fix_aside_search_with_pagination
  • using cap
... coming soon (maybe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment