Skip to content

Commit

Permalink
auto sync with main repo
Browse files Browse the repository at this point in the history
Signed-off-by: rachejazz <[email protected]>
  • Loading branch information
rachejazz committed May 23, 2024
1 parent 336f164 commit 6d76103
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/updatesubmodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Sync submodules
on: workflow_dispatch
jobs:

build:
name: Sync with Main repo
runs-on: ubuntu-latest
steps:
- name: ssh and pull and restart
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
git pull --recurse-submodules
git submodule update --remote --recursive
git commit -sam "Auto updated submodule references" && git push || echo "No changes to commit"
build:
name: Sync with Main repo
runs-on: ubuntu-latest
steps:
- name: ssh and pull and restart
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
git pull --recurse-submodules
git submodule update --remote --recursive
git commit -sam "Auto updated submodule references" && git push || echo "No changes to commit"

0 comments on commit 6d76103

Please sign in to comment.