Skip to content

Commit 8ccda33

Browse files
authored
Update sync_ansible_project.yml
1 parent d9d92a0 commit 8ccda33

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/sync_ansible_project.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ on:
1010
# - name: my-step
1111
# run: echo "Hello World!"
1212
# Add a note
13-
# env:
14-
# # NUMBERS: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10'
15-
# PROJECT_DEV_IDs: '562, 586, 591, 645, 681, 683, 723, 728, 732, 907'
16-
# PROJECT_PROD_IDs: '513, 535, 576, 598, 705, 730, 749, 758'
13+
env:
14+
# NUMBERS: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10'
15+
PROJECT_DEV_IDs: '562, 586, 591, 645, 681, 683, 723, 728, 732, 907'
16+
PROJECT_PROD_IDs: '513, 535, 576, 598, 705, 730, 749, 758'
1717
# PROJECT_DEV_IDs:
1818
# - 562 # RHEL Automation - main
1919
# - 586 # RHEL 8 STIG - dev - development
@@ -39,10 +39,12 @@ jobs:
3939
runs-on: ubuntu-latest
4040
strategy:
4141
matrix:
42+
dev_id: ${{ fromJSON(vars.PROJECT_DEV_IDs) }}
4243
# items: [item1, item2, item3, item4] # Replace with your list items
43-
PROJECT_DEV_IDs: [562, 586, 591, 645, 681, 683, 723, 728, 732, 907]
44-
PROJECT_PROD_IDs: [513, 535, 576, 598, 705, 730, 749, 758]
44+
# PROJECT_DEV_IDs: [562, 586, 591, 645, 681, 683, 723, 728, 732, 907]
45+
# PROJECT_PROD_IDs: [513, 535, 576, 598, 705, 730, 749, 758]
4546
steps:
4647
- name: Print item
4748
run: |
48-
echo Item: ${{ matrix.PROJECT_DEV_IDs }}
49+
echo Item: $ {{ matrix.dev_id }}
50+
# echo Item: ${{ matrix.PROJECT_DEV_IDs }}

0 commit comments

Comments
 (0)