Merge pull request #519 from powerhouse-inc/env-update-stg #155
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 Connect Powerhouse Staging | |
on: | |
push: | |
branches: [staging] | |
env: | |
HUSKY: 0 | |
jobs: | |
build: | |
environment: Powerhouse Staging | |
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=/staging/powerhouse/connect | |
--build-arg PH_CONNECT_BASE_HREF=/staging/powerhouse/connect/ | |
--build-arg PH_CONNECT_ROUTER_BASENAME=/staging/powerhouse/connect | |
--build-arg PH_CONNECT_SENTRY_DSN=${{ secrets.SENTRY_DSN }} | |
--build-arg PH_CONNECT_SENTRY_ENV=${{ secrets.SENTRY_ENV }} | |
--build-arg PH_CONNECT_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/staging/powerhouse/switchboard/d/powerhouse | |
--build-arg PH_CONNECT_SEARCH_BAR_ENABLED=false | |
process_type: web |