Skip to content

Merge pull request #3 from ashleyjoh-db/feature1 #4

Merge pull request #3 from ashleyjoh-db/feature1

Merge pull request #3 from ashleyjoh-db/feature1 #4

Workflow file for this run

name: Deploy to prod
concurrency: 1
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "**/*.yml"
- "**/*.py"
jobs:
deploy:
name: "Deploy bundle"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: databricks/setup-cli@main
- run: databricks bundle deploy
env:
DATABRICKS_TOKEN: ${{ secrets.QA_TOKEN }}
DATABRICKS_BUNDLE_ENV: production
pipeline_update:
name: "Run pipeline update"
runs-on: ubuntu-latest
needs:
- deploy
steps:
- uses: actions/checkout@v3
- uses: databricks/setup-cli@main
- run: databricks bundle run fe_medium_metrics --refresh-all
env:
DATABRICKS_TOKEN: ${{ secrets.QA_TOKEN }}
DATABRICKS_BUNDLE_ENV: production