forked from powerhouse-inc/switchboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added frontend and wundergraph deployment
- Loading branch information
Showing
2 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Deploy Switchboard Staging | |
|
||
on: | ||
push: | ||
branches: [feat/documentDrive, main] | ||
branches: [main, feat/documentDrive] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters