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 370aaca commit 583ed77
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/updatesubmodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ 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
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 -am "Auto updated submodule references" && git push || echo "No changes to commit"

0 comments on commit 583ed77

Please sign in to comment.