forked from novuhq/novu
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (50 loc) · 1.71 KB
/
staging-deploy-web.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
47
48
49
50
51
52
53
54
55
# This is a basic workflow to help you get started with Actions
name: Deploy Staging WEB
# 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/**'
- 'libs/shared/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test_web:
uses: ./.github/workflows/reusable-web-e2e.yml
with:
ee: true
secrets: inherit
deploy_web:
needs: test_web
if: "!contains(github.event.head_commit.message, 'ci skip')"
uses: ./.github/workflows/reusable-web-deploy.yml
with:
environment: Development
react_app_api_url: https://staging.api.novu.co
react_app_ws_url: https://staging.ws.novu.co
react_app_webhook_url: https://staging.webhook.novu.co
react_app_widget_embed_path: https://staging.embed.novu.co/embed.umd.min.js
react_app_sentry_dsn: https://8054d521cff2e73d32b8edfe4793d05c@o1161119.ingest.sentry.io/4505829158158336
react_app_environment: staging
react_app_mail_server_domain: staging.inbound-mail.novu.co
netlify_deploy_message: Staging deployment
netlify_alias: dev
netlify_gh_env: staging
netlify_site_id: 8010b875-9f6e-4bcc-ba67-c090c1cc2e05
secrets: inherit
publish_docker_image_web:
needs: test_web
if: "!contains(github.event.head_commit.message, 'ci skip')"
uses: ./.github/workflows/reusable-docker.yml
with:
environment: Development
package_name: novu/web
project_path: apps/web
local_tag: novu-web
env_tag: dev
depot_project_id: f88777ff6m
secrets: inherit