File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed
Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 4747 mkdir -p output
4848 npm run db:export-checks
4949 cp output/checks.json ../data/checks.json
50- npm run db:export-policies
51- cp output/policies.json ../data/policies.json
5250 npm run db:export-checklists
5351 cp output/checklists.json ../data/checklists.json
5452 cd ..
6967 git config user.name "GitHub Actions"
7068 git config user.email "[email protected] " 7169 git add -A
72- git diff --cached --quiet || git commit -m "chore: sync with visionBoard checks, policies and checklists"
70+ git diff --cached --quiet || git commit -m "chore: sync with visionBoard checks and checklists"
71+
72+ - name : Clone fortSphere and import policies
73+ run : |
74+ git clone https://github.com/OpenPathfinder/fortSphere.git temp-fortSphere
75+ cd temp-fortSphere
76+ npm install
77+ mkdir -p output
78+ npm run export-policies
79+ cp output/policies.json ../data/policies.json
80+ cd ..
81+ rm -rf temp-fortSphere
82+
83+ - name : Debug Git Changes
84+ run : |
85+ git status
86+ git diff
87+
88+ - name : Commit Updated Policies
89+ run : |
90+ git config user.name "GitHub Actions"
91+ git config user.email "[email protected] " 92+ git add -A
93+ git diff --cached --quiet || git commit -m "chore: sync with fortSphere Policies"
7394
7495 - name : Install Dependencies and update dynamic content
7596 run : |
You can’t perform that action at this time.
0 commit comments