Skip to content

Update Submodules

Update Submodules #433

name: Update Submodules
on: workflow_dispatch
jobs:
Update-Submodules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
fetch-depth: 0
- name: Pull down submodules
run: |
git checkout -b preview-update-submodules
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git submodule update --remote --merge
git add .
git commit -m "Update Submodules"
git push -f --set-upstream origin preview-update-submodules
call-create-preview:
needs: Update-Submodules
uses: path-cc/path-cc.github.io/.github/workflows/deploy-preview.yml@master
secrets: inherit
with:
branch: "preview-update-submodules"