|
@@ -1,5 +1,6 @@
|
|
|
name: Companion Deploy
|
|
|
|
|
|
+
|
|
|
on:
|
|
|
push:
|
|
|
branches: [main]
|
|
@@ -43,10 +44,13 @@ jobs:
|
|
|
steps:
|
|
|
- name: Checkout sources
|
|
|
uses: actions/checkout@v2
|
|
|
+ - name: Alter dockerfile
|
|
|
+ run: |
|
|
|
+ sed -i 's/^EXPOSE 3020$/EXPOSE $PORT/g' Dockerfile
|
|
|
- name: Deploy to heroku
|
|
|
uses: akhileshns/heroku-deploy@v3.12.12
|
|
|
with:
|
|
|
- appdir: packages/@uppy/companion
|
|
|
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
|
|
|
heroku_app_name: companion-demo
|
|
|
heroku_email: ${{secrets.HEROKU_EMAIL}}
|
|
|
+ usedocker: true
|