3838 git fetch origin chore/update-content || true
3939 git checkout chore/update-content || git checkout -b chore/update-content
4040
41- - name : Clone visionBoard and import checks
41+ - name : Clone visionBoard and run imports
4242 run : |
4343 git clone https://github.com/OpenPathfinder/visionBoard.git temp-visionBoard
4444 cd temp-visionBoard
4747 mkdir -p output
4848 npm run db:export-checks
4949 cp output/checks.json ../data/checks.json
50+ npm run export-policies
51+ cp output/policies.json ../data/policies.json
52+ npm run export-checklists
53+ cp output/checklists.json ../data/checklists.json
5054 cd ..
5155 rm -rf temp-visionBoard
5256 env :
@@ -60,41 +64,19 @@ jobs:
6064 git status
6165 git diff
6266
63- - name : Commit Updated Checks
64- run : |
65- git config user.name "GitHub Actions"
66- git config user.email "[email protected] " 67- git add -A
68- git diff --cached --quiet || git commit -m "chore: sync with visionBoard Checks"
69-
70- - name : Clone fortSphere and import policies
71- run : |
72- git clone https://github.com/OpenPathfinder/fortSphere.git temp-fortSphere
73- cd temp-fortSphere
74- npm install
75- mkdir -p output
76- npm run export-policies
77- cp output/policies.json ../data/policies.json
78- cd ..
79- rm -rf temp-fortSphere
80-
81- - name : Debug Git Changes
82- run : |
83- git status
84- git diff
85-
86- - name : Commit Updated Policies
67+ - name : Commit Updated data imported from visionBoard
8768 run : |
8869 git config user.name "GitHub Actions"
8970 git config user.email "[email protected] " 9071 git add -A
91- git diff --cached --quiet || git commit -m "chore: sync with fortSphere Policies "
72+ git diff --cached --quiet || git commit -m "chore: sync with visionBoard checks, policies and checklists "
9273
9374 - name : Install Dependencies and update dynamic content
9475 run : |
9576 npm install
9677 npm run populate-checks
9778 npm run populate-policies
79+ npm run populate-checklists
9880
9981 - name : Debug Git Changes
10082 run : |
0 commit comments