-
Notifications
You must be signed in to change notification settings - Fork 3.9k
46 lines (42 loc) · 1.51 KB
/
dev-deploy-dashboard.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Deploy DEV DASHBOARD
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches:
- next
- main
paths:
- 'apps/web/**'
- 'apps/dashboard/**'
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test_dashboard:
uses: ./.github/workflows/reusable-dashboard-e2e.yml
with:
ee: true
secrets: inherit
deploy_dashboard:
needs: test_dashboard
if: "!contains(github.event.head_commit.message, 'ci skip')"
uses: ./.github/workflows/reusable-dashboard-deploy.yml
with:
environment: Development
react_app_api_url: https://api.novu-staging.co
react_app_ws_url: https://dev.ws.novu.co
react_app_webhook_url: https://dev.webhook.novu.co
react_app_widget_embed_path: https://dev.embed.novu.co/embed.umd.min.js
react_app_sentry_dsn: https://[email protected]/6250907
react_app_environment: dev
react_app_mail_server_domain: dev.inbound-mail.novu.co
react_app_hubspot_embed: 44416662
netlify_deploy_message: Dev deployment
netlify_alias: dev
netlify_gh_env: development
netlify_site_id: 5b9c0332-3423-42d9-abd6-c3a322ba71dc
clerk_publishable_key: pk_live_Y2xlcmsubm92dS1zdGFnaW5nLmNvJA
clerk_is_ee_auth_enabled: true
secrets: inherit