Skip to content

Commit

Permalink
feat: added frontend and wundergraph deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
froid1911 committed Jan 30, 2024
1 parent 0cda777 commit db73dba
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/build-and-deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy Switchboard Staging

on:
push:
branches: [feat/documentDrive, main]
branches: [main, feat/documentDrive]
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -16,7 +16,34 @@ jobs:
with:
email: ${{ secrets.HEROKU_EMAIL }}
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
heroku_app_name: ${{ secrets.HEROKU_API_NAME }}
dockerfile_directory: ./api
dockerfile_name: Dockerfile
process_type: web
- name: Build, Push and Release Frontend to Heroku. # Your custom step name
uses: gonuit/[email protected]
with:
email: ${{ secrets.HEROKU_EMAIL }}
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_FRONTEND_NAME }}
dockerfile_directory: ./
dockerfile_name: frontend/Dockerfile
process_type: web
- name: Build, Push and Release Wundergraph to Heroku. # Your custom step name
uses: gonuit/[email protected]
with:
email: ${{ secrets.HEROKU_EMAIL }}
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_WGRAPH_NAME }}
dockerfile_directory: ./
dockerfile_name: frontend/Dockerfile
process_type: web
# - name: Build, Push and Release NGINX to Heroku. # Your custom step name
# uses: gonuit/[email protected]
# with:
# email: ${{ secrets.HEROKU_EMAIL }}
# heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
# heroku_app_name: ${{ secrets.HEROKU_FRONTEND_NAME }}
# dockerfile_directory: ./nginx
# dockerfile_name: Dockerfile
# process_type: web
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"pino-pretty": "^10.0.0",
"siwe": "^2.1.4",
"vite-node": "^0.29.2",
"vitest": "^0.29.2",
"vitest": "^0.31.1",
"wildcard-match": "^5.1.2",
"zod": "^3.21.4"
},
Expand Down

0 comments on commit db73dba

Please sign in to comment.