Skip to content

Merge pull request #1720 from rudderlabs/main #1461

Merge pull request #1720 from rudderlabs/main

Merge pull request #1720 from rudderlabs/main #1461

Workflow file for this run

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 }}