Skip to content

Commit

Permalink
try matrix in reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Sep 14, 2023
1 parent 32736a5 commit 4e4010f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main-branch-deploys.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Deploy main branch"
name: deploy-main
on:
push:
branches: main
Expand All @@ -8,11 +8,11 @@ on:

jobs:
trigger:
name: deploy-${{ matrix.env_target }}
name: deploy-${{ matrix.env }}
strategy:
matrix:
env_taget: [moonbeam-aplha, ff-prod, development]
env: ['moonbeam-aplha', 'ff-prod', 'development']
uses: ./.github/workflows/deploy_all.yml
secrets: inherit
with:
environment: ${{ matrix.env_target }}
environment: ${{ matrix.env }}

0 comments on commit 4e4010f

Please sign in to comment.