Update Submodules #433
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |