From 2c7735e6971ff6ecf72a99d9276139f0d8d2f2de Mon Sep 17 00:00:00 2001 From: "Ifedapo .A. Olarewaju" Date: Fri, 11 Sep 2020 14:20:18 +0100 Subject: [PATCH] Heroku deployment (#425) * add heroku deployment * build: remove duplicate step --- .github/workflows/main.yml | 6 ++++++ Procfile | 1 + 2 files changed, 7 insertions(+) create mode 100644 Procfile 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