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

ENH: Deploy Heroku site through GitHub actions #55

Open
fletchapin opened this issue Feb 19, 2021 · 0 comments
Open

ENH: Deploy Heroku site through GitHub actions #55

fletchapin opened this issue Feb 19, 2021 · 0 comments
Labels
Enhancement New feature or request

Comments

@fletchapin
Copy link
Member

Use Case

When a deploy build is triggered, the heroku website could be packaged and deployed following these instructions.

Solution

When a tagged version is pushed to aide_design_specs or when pushes are made to the stable branch (up to the implementer which solution is preferred, here is are examples of tagged versions and stable branches starting workflows.

A GitHub action can be configured to deploy to Heroku. A Heroku token will likely have to be added to the repo secrets for this to work.

Alternatives

The website is currently deployed manually from the command line by AIDE team members. An alternative is to mimic this deployment in a custom GH action.

From the above instructions.

heroku create --buildpack https://github.com/Thermondo/heroku-buildpack-tex.git
heroku buildpacks:add heroku/python
git push heroku master
git push heroku deploy:master
@fletchapin fletchapin added the Enhancement New feature or request label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant