mirror of https://github.com/coddrago/Heroku
Mess around buildpacks
parent
bb96c7ca3b
commit
bd221fcb8d
|
@ -14,11 +14,9 @@ from . import utils
|
||||||
|
|
||||||
|
|
||||||
def publish(
|
def publish(
|
||||||
clients: list,
|
|
||||||
key: str,
|
key: str,
|
||||||
api_token: Optional[str] = None,
|
api_token: Optional[str] = None,
|
||||||
create_new: Optional[bool] = True,
|
create_new: Optional[bool] = True,
|
||||||
full_match: Optional[bool] = False,
|
|
||||||
):
|
):
|
||||||
"""Push to heroku"""
|
"""Push to heroku"""
|
||||||
logging.debug("Configuring heroku...")
|
logging.debug("Configuring heroku...")
|
||||||
|
@ -38,9 +36,9 @@ def publish(
|
||||||
"https://github.com/heroku/heroku-buildpack-python",
|
"https://github.com/heroku/heroku-buildpack-python",
|
||||||
"https://github.com/hikariatama/heroku-buildpack",
|
"https://github.com/hikariatama/heroku-buildpack",
|
||||||
"https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest",
|
"https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest",
|
||||||
"https://github.com/heroku/heroku-buildpack-apt",
|
|
||||||
"https://github.com/DuckyTeam/heroku-buildpack-imagemagick",
|
"https://github.com/DuckyTeam/heroku-buildpack-imagemagick",
|
||||||
"https://github.com/jontewks/puppeteer-heroku-buildpack",
|
"https://github.com/jontewks/puppeteer-heroku-buildpack",
|
||||||
|
"https://github.com/heroku/heroku-buildpack-nodejs",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -690,7 +690,7 @@ class Hikka:
|
||||||
"This process might take several minutes, be patient."
|
"This process might take several minutes, be patient."
|
||||||
)
|
)
|
||||||
|
|
||||||
app = heroku.publish(self.clients, key, self.api_token)
|
app = heroku.publish(key, self.api_token)
|
||||||
print(
|
print(
|
||||||
"Installed to heroku successfully!\n"
|
"Installed to heroku successfully!\n"
|
||||||
"🎉 App URL: {}".format(app.web_url)
|
"🎉 App URL: {}".format(app.web_url)
|
||||||
|
|
Loading…
Reference in New Issue