File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2727
2828 - name : Run refresh-static.ts
2929 id : refresh-downstream-script
30+ run : npm run refresh-static
31+
32+ - name : check for diff
33+ if : steps.refresh-downstream-script.outcome == 'successs'
34+ id : check-for-diff
3035 run : |
31- npm run refresh-static
3236 git diff --compact-summary
3337 if [[ -n "$(git diff)" ]]; then
3438 echo "changes-available=TRUE" >> $GITHUB_OUTPUT
3741 fi
3842
3943 - name : Push changes to main
40- if : steps.refresh-downstream-script .outputs.changes-available == 'TRUE'
44+ if : steps.check-for-diff .outputs.changes-available == 'TRUE'
4145 id : push-to-main
4246 run : |
4347 echo "changes have occurred, committing to main"
Original file line number Diff line number Diff line change @@ -102,3 +102,5 @@ writeFileSync(
102102 } ) . toString ( ) ,
103103 { encoding : "utf-8" } ,
104104) ;
105+
106+ console . log ( "finished running refresh-static" )
You can’t perform that action at this time.
0 commit comments