Skip to content
Prev Previous commit
Next Next commit
Updated example based on feedback
  • Loading branch information
martin389 authored Nov 19, 2020
commit dc36bcb91c8a109ec730817a4b72ca96ffcc390c
16 changes: 8 additions & 8 deletions content/actions/reference/workflow-syntax-for-github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -893,17 +893,17 @@ jobs:
matrix:
include:
- node-version: 10.x
env:
site: "prod"
datacenter: "site-a"
site: "prod"
datacenter: "site-a"
- node-version: 12.x
env:
site: "dev"
datacenter: "site-b"
site: "dev"
datacenter: "site-b"
steps:
- name: Echo site details
env: ${{ matrix.env }}
run: echo $site $datacenter
env:
SITE: ${{ matrix.site }}
DATACENTER: ${{ matrix.datacenter }}
run: echo $SITE $DATACENTER
```
{% endraw %}

Expand Down