Heroku deployment (#425)

* add heroku deployment

* build: remove duplicate step
This commit is contained in:
Ifedapo .A. Olarewaju 2020-09-11 14:20:18 +01:00 committed by GitHub
parent 90e208a286
commit 2c7735e697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,12 @@ jobs:
files: tusd_*.*
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
- name: Deploy to heroku
uses: akhileshns/heroku-deploy@v3.4.6
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: ${{secrets.HEROKU_APP_NAME}}
heroku_email: ${{secrets.HEROKU_USER_EMAIL}}
- uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}

1
Procfile Normal file
View File

@ -0,0 +1 @@
web: bin/tusd -s3-bucket tusdtest.transloadit.com -port=$PORT -behind-proxy -max-size=20000000000 -timeout=6000