File tree Expand file tree Collapse file tree 1 file changed +10
-20
lines changed
Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change 44 workflow_dispatch :
55
66jobs :
7- build_deploy :
7+ update_submodules :
88 runs-on : ubuntu-latest
99 steps :
1010 # Checkout
1111 - uses : actions/checkout@v3
1212 with :
1313 ref : 6-dev
14-
15- # Pull latest plone.api
16- - name : Pull latest plone.api
17- run : |
18- cd submodules/plone.api
19- git pull
20-
21- # Pull latest plone.restapi
22- - name : Pull latest plone.restapi
23- run : |
24- cd submodules/plone.restapi
25- git pull
14+ submodules : true
2615
27- # Pull latest Volto
28- - name : Pull latest Volto
16+ - name : Submodule update
2917 run : |
30- cd submodules/volto
31- git pull
18+ git status
19+ git submodule update --init --recursive
20+ git submodule update --remote --recursive
3221
33- # Update, commit, and push
34- - name : Update tips
22+ - name : Commit updates
3523 run : |
3624 git status
3725 git add submodules/plone.api submodules/plone.restapi submodules/volto
26+ git status
3827 git config user.name github-actions
3928 git config user.email [email protected] 40- git diff --exit-code && git commit -m "Update submodules tip" && git push
29+ git commit -m "Update submo0dules tip" || echo "No changes to commit"
30+ git push
You can’t perform that action at this time.
0 commit comments