-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (40 loc) · 1.3 KB
/
deploy-to-dev.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
name: Deploy Configurations To Development DB
on:
push:
branches:
- develop
pull_request:
types:
- closed
branches:
- develop
jobs:
report-code-coverage:
name: Report Code Coverage
if: github.event_name == 'push'
uses: ./.github/workflows/report-code-coverage.yml
secrets: inherit
deploy-to-dev:
name: Deployment To Development DB
# Only merged pull requests must trigger
if: github.event.pull_request.merged == true
uses: ./.github/workflows/deploy.yml
with:
deploy_url: https://api.dev.rudderlabs.com
secrets:
API_USERNAME: ${{ secrets.DEV_USERNAME }}
API_PASSWORD: ${{ secrets.DEV_PASSWORD }}
SLACK_BOT_TOKEN: $$ {{ secrets.SLACK_BOT_TOKEN }}
SLACK_RELEASE_CHANNEL_ID: ${{ secrets.SLACK_RELEASE_CHANNEL_ID }}
deploy-to-sources-dev:
name: Deployment To Sources Development DB
# Only merged pull requests must trigger
if: github.event.pull_request.merged == true
uses: ./.github/workflows/deploy.yml
with:
deploy_url: https://sources-api.dev.rudderlabs.com
secrets:
API_USERNAME: ${{ secrets.DEV_USERNAME }}
API_PASSWORD: ${{ secrets.DEV_PASSWORD }}
SLACK_BOT_TOKEN: $$ {{ secrets.SLACK_BOT_TOKEN }}
SLACK_RELEASE_CHANNEL_ID: ${{ secrets.SLACK_RELEASE_CHANNEL_ID }}