Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhavPrajapati authored Jul 18, 2024
1 parent 5451f49 commit 76d92a0
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ name: Build
on: push
jobs:
build-image:
name: build to ${{ matrix.vars.target }}
runs-on: ubuntu-latest
strategy:
matrix:
vars:
- target: dev
url: test-dev
- target: prod
url: test-prod
- target: dev
appurl: test-dev
steps:
- name: my-step
run: echo "Hello World!"
with:
target-step: ${{ matrix.vars.target }}
url-step: ${{ matrix.vars.url }}
run: |
echo "${{ matrix.vars.target }} : ${{ matrix.vars.appurl }}"

0 comments on commit 76d92a0

Please sign in to comment.