forked from acaldas/document-model-electron
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: added pipeline to deploy websockets branch
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
.github/workflows/build-and-deploy-feature-websockets.yaml
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Deploy Connect Powerhouse Feature Websockets | ||
|
||
on: | ||
push: | ||
branches: [feature/websockets] | ||
|
||
env: | ||
HUSKY: 0 | ||
|
||
jobs: | ||
build: | ||
environment: feature-websockets | ||
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: "" | ||
docker_options: >- | ||
--build-arg BASE_PATH=/feature/websockets/connect | ||
--build-arg VITE_BASE_HREF=/feature/websockets/connect/ | ||
--build-arg VITE_ROUTER_BASENAME=/feature/websockets/connect | ||
--build-arg VITE_DEFAULT_DRIVE_URL=https://apps.powerhouse.io/feature/websockets/switchboard/d/core-dev | ||
process_type: web |