Merge branch 'develop' into staging #147
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=/alpha/powerhouse/connect | |
--build-arg VITE_BASE_HREF=/alpha/powerhouse/connect/ | |
--build-arg VITE_ROUTER_BASENAME=/alpha/powerhouse/connect | |
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }} | |
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }} | |
--build-arg VITE_DEFAULT_DRIVE_URL=https://apps.powerhouse.io/alpha/powerhouse/switchboard/d/powerhouse | |
process_type: web |