diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b28f0d..7402633 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }} diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..1388972 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: bin/tusd -s3-bucket tusdtest.transloadit.com -port=$PORT -behind-proxy -max-size=20000000000 -timeout=6000 \ No newline at end of file