forked from acaldas/renown-poc
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 1.1 KB
/
build-and-deploy.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
name: Build & Deploy
on:
push:
branches: [main]
env:
HUSKY: 0
jobs:
build:
environment: 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 }}
process_type: web
docker_options: >-
--build-arg CERAMIC_SEED=${{ secrets.CERAMIC_SEED }}
--build-arg NEXT_PUBLIC_CERAMIC_URL=${{ secrets.NEXT_PUBLIC_CERAMIC_URL }}
--build-arg NEXT_PUBLIC_VITE_INFURA_PROJECT_ID=${{ secrets.NEXT_PUBLIC_VITE_INFURA_PROJECT_ID }}
--build-arg NEXT_PUBLIC_VITE_WALLET_CONNECT_PROJECT_ID=${{ secrets.NEXT_PUBLIC_VITE_WALLET_CONNECT_PROJECT_ID }}