mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-06 21:49:03 +00:00
add update submodules workflow
This commit is contained in:
parent
3f81a32351
commit
e9e0c2b557
20
extension/.github/workflows/submodules.yml
vendored
Normal file
20
extension/.github/workflows/submodules.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: 'update submodules'
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync:
|
||||||
|
name: 'update submodules'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- name: pull updates
|
||||||
|
run: |
|
||||||
|
git pull --recurse-submodules
|
||||||
|
git submodule update --remote --recursive
|
||||||
|
- name: commit changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
4
extension/.gitmodules
vendored
4
extension/.gitmodules
vendored
@ -1,12 +1,16 @@
|
|||||||
[submodule "api"]
|
[submodule "api"]
|
||||||
path = api
|
path = api
|
||||||
url = git@github.com:notion-enhancer/api.git
|
url = git@github.com:notion-enhancer/api.git
|
||||||
|
branch = dev
|
||||||
[submodule "repo"]
|
[submodule "repo"]
|
||||||
path = repo
|
path = repo
|
||||||
url = git@github.com:notion-enhancer/repo.git
|
url = git@github.com:notion-enhancer/repo.git
|
||||||
|
branch = dev
|
||||||
[submodule "media"]
|
[submodule "media"]
|
||||||
path = media
|
path = media
|
||||||
url = git@github.com:notion-enhancer/media.git
|
url = git@github.com:notion-enhancer/media.git
|
||||||
|
branch = main
|
||||||
[submodule "dep"]
|
[submodule "dep"]
|
||||||
path = dep
|
path = dep
|
||||||
url = git@github.com:notion-enhancer/dep.git
|
url = git@github.com:notion-enhancer/dep.git
|
||||||
|
branch = main
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8c9dca0c84ecc0120537da6d74b45c3f74b8768a
|
Subproject commit 6c2184738964a477246cc06b47567d692982797d
|
Loading…
Reference in New Issue
Block a user