Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub SHA to deploy on Hatchbox v2 #11

Merged
merged 5 commits into from Sep 15, 2023
Merged

Use GitHub SHA to deploy on Hatchbox v2 #11

merged 5 commits into from Sep 15, 2023

Conversation

excid3
Copy link
Member

@excid3 excid3 commented Sep 15, 2023

This refactors the deploy script for a few major things:

  • Deploy ${{ github.sha }}. This is the sha that triggered the action. This will ensure that the correct commit is deployed in case two pushes are run in close succession.
  • Raise error on failure using set -e
  • Remove Hatchbox Classic support in v2.

@excid3 excid3 merged commit c504016 into main Sep 15, 2023
@excid3 excid3 deleted the deploy-sha branch September 15, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant