forked from acaldas/document-model-electron
-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (29 loc) · 1.14 KB
/
build-and-deploy-makerdao-prod.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Deploy Connect to MakerDAO Production
on:
push:
branches: [deployments/makerdao]
env:
HUSKY: 0
jobs:
build:
environment: MakerDAO Production
runs-on: ubuntu-latest
steps:
# Check-out your repository.
- name: Checkout
uses: actions/checkout@v2
- name: Build, Push and Release APP to Heroku. # Your custom step name
uses: gonuit/heroku-docker-deploy@v1.3.3
with:
email: ${{ secrets.HEROKU_EMAIL }}
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
docker_options: >-
--build-arg BASE_PATH=/makerdao/connect
--build-arg VITE_BASE_HREF=/makerdao/connect/
--build-arg VITE_ROUTER_BASENAME=/makerdao/connect
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg VITE_DEFAULT_DRIVE_URL=https://apps.powerhouse.io/makerdao/switchboard/d/e5d5a2aa-b3f8-449a-b68a-5cb5fdae6f8d
--build-arg VITE_RWA_ALLOW_LIST=${{secrets.VITE_RWA_ALLOW_LIST}}
process_type: web