Skip to content

Commit 9448b4f

Browse files
committed
Add workflow to update all submodules
1 parent 788bb54 commit 9448b4f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Get latest version of submodules and push back to 6-dev branch
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build_deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
# Checkout
11+
- uses: actions/checkout@v2
12+
13+
# Pull latest plone.api
14+
- name: Pull latest plone.api
15+
run: |
16+
cd submodules/plone.api
17+
git pull
18+
19+
# Pull latest plone.restapi
20+
- name: Pull latest plone.restapi
21+
run: |
22+
cd submodules/plone.restapi
23+
git pull
24+
25+
# Pull latest Volto
26+
- name: Pull latest Volto
27+
run: |
28+
cd submodules/volto
29+
git pull
30+
31+
# Update, commit, and push
32+
- name : Update tips
33+
run: |
34+
git status
35+
git add submodules/plone.api submodules/plone.restapi submodules/volto
36+
git commit -m "Update submodules tip"
37+
git push

0 commit comments

Comments
 (0)