fix(router): redirects for new phd domains #40
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
name: Deploy Powerhouse Router | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
environment: Production | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build, Push and Release Router to Heroku. | |
uses: gonuit/[email protected] | |
with: | |
email: ${{ secrets.HEROKU_EMAIL }} | |
heroku_api_key: ${{ secrets.HEROKU_API_KEY }} | |
heroku_app_name: ${{ secrets.HEROKU_ROUTER_NAME }} | |
process_type: web | |
- name: Build, Push and Release Frontend to Heroku. | |
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: ./frontend | |
dockerfile_name: Dockerfile | |
process_type: web |