Skip to content

Commit

Permalink
Fire using push for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mdragon committed Nov 20, 2024
1 parent b130e33 commit 8c78aac
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cd-metabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Deploy Metabase
run-name: Deploy ${{ github.ref_name }} to Metabase ${{ inputs.environment || (github.event_name == 'release' && 'prod') || 'nonprod'}}

on:
push:
branches:
- "mdragon/2938-metabase-workflow"
paths:
- ".github/workflows/cd-metabase.yml"
- "Makefile"
workflow_dispatch:
inputs:
environment:
Expand All @@ -21,12 +27,12 @@ on:
jobs:
deploy:
name: Deploy
uses: ./.github/workflows/deploy.yml
uses: ./.github/workflows/deploy-metabase.yml
strategy:
max-parallel: 1
fail-fast: false
matrix:
envs: ${{ github.event_name == 'release' && fromJSON('["prod"]') || github.ref_name == 'main' && fromJSON('["dev", "staging"]') || fromJSON('["dev"]') }}
with:
app_name: "analytics"
version: latest
environment: ${{ matrix.envs }}

0 comments on commit 8c78aac

Please sign in to comment.