File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 33name : publish-prod
44
55# Controls when the workflow will run
6- on :
7- push :
8- branches :
9- - master
6+ on : workflow_dispatch
107
118jobs :
129
2017
2118 - name : Submodule update
2219 run : |
20+ rm -rf common/content/${{ env.PRODUCT }}
2321 git submodule update --init --recursive
2422 git submodule foreach git pull origin master
2523
3028
3129 - name : Run and build Hugo
3230 run : |
33- rm -rf common/content/${{ env.PRODUCT }}
3431 mkdir -p common/content/${{ env.PRODUCT }}
3532 cp -r java common/content/${{ env.PRODUCT }}
3633 cp -r net common/content/${{ env.PRODUCT }}
Original file line number Diff line number Diff line change 33name : publish-qa
44
55# Controls when the workflow will run
6- on : workflow_dispatch
7-
6+ on :
7+ push :
8+
89jobs :
910
1011 build :
1718
1819 - name : Submodule update
1920 run : |
21+ rm -rf common/content/${{ env.PRODUCT }}
2022 git submodule update --init --recursive
2123 git submodule foreach git pull origin master
2224
2729
2830 - name : Run and build Hugo
2931 run : |
30- rm -rf common/content/${{ env.PRODUCT }}
3132 mkdir -p common/content/${{ env.PRODUCT }}
3233 cp -r java common/content/${{ env.PRODUCT }}
3334 cp -r net common/content/${{ env.PRODUCT }}
You can’t perform that action at this time.
0 commit comments