diff --git a/extension/.github/workflows/submodules.yml b/extension/.github/workflows/submodules.yml new file mode 100644 index 0000000..463aa5e --- /dev/null +++ b/extension/.github/workflows/submodules.yml @@ -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 diff --git a/extension/.gitmodules b/extension/.gitmodules index eb813ff..5786be6 100644 --- a/extension/.gitmodules +++ b/extension/.gitmodules @@ -1,12 +1,16 @@ [submodule "api"] path = api url = git@github.com:notion-enhancer/api.git + branch = dev [submodule "repo"] path = repo url = git@github.com:notion-enhancer/repo.git + branch = dev [submodule "media"] path = media url = git@github.com:notion-enhancer/media.git + branch = main [submodule "dep"] path = dep url = git@github.com:notion-enhancer/dep.git + branch = main diff --git a/extension/dep b/extension/dep index 8c9dca0..6c21847 160000 --- a/extension/dep +++ b/extension/dep @@ -1 +1 @@ -Subproject commit 8c9dca0c84ecc0120537da6d74b45c3f74b8768a +Subproject commit 6c2184738964a477246cc06b47567d692982797d