Skip to content

Commit 1e778a1

Browse files
authored
Merge pull request plone#1346 from plone/esteele-build-docs
Update submodule tips
2 parents 788bb54 + e0bece3 commit 1e778a1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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@v3
12+
with:
13+
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
26+
27+
# Pull latest Volto
28+
- name: Pull latest Volto
29+
run: |
30+
cd submodules/volto
31+
git pull
32+
33+
# Update, commit, and push
34+
- name : Update tips
35+
run: |
36+
git status
37+
git add submodules/plone.api submodules/plone.restapi submodules/volto
38+
git config user.name github-actions
39+
git config user.email [email protected]
40+
git diff --exit-code && git commit -m "Update submodules tip" && git push

0 commit comments

Comments
 (0)