Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/bohdan-s/SunGather into main
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-s committed Feb 8, 2023
2 parents 2174332 + f4c216c commit 455fca9
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 40 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/update-addon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Send submodule updates to parent repo

on:
push:
branches:
- main

jobs:
update:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
repository: bohdan-s/hassio-repository
token: ${{ secrets.REPO_TOKEN }}
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 "GitHub Actions - update submodules"
git add --all
git commit -m "Update submodules" || echo "No changes to commit"
git push
Loading

0 comments on commit 455fca9

Please sign in to comment.