Skip to content

refactor: Make users/data storage private #5

refactor: Make users/data storage private

refactor: Make users/data storage private #5

# https://stackoverflow.com/a/68213855
name: Send submodule updates to parent repo
on:
push:
branches:
- dev
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: jstnf/the-button-composer
token: ${{ secrets.COMPOSER_GITHUB_PAT }}
submodules: true
- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Commit
run: |
git config user.email "[email protected]"
git config user.name "[the-button-server] update submodules"
git add --all
git commit -m "[the-button-server] Update submodules" || echo "No changes to commit"
git push