✏️ Renamed an image in test #2
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: | |
push: | |
branches: | |
- 'blogposts' | |
jobs: | |
update_submodules: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main branch | |
uses: actions/checkout@v2 | |
with: | |
ref: 'main' # Specify the main branch | |
- name: Update submodules | |
run: | | |
git submodule update --remote --merge | |
git add . | |
git commit -m "🔄 Update submodules" || echo "No changes to commit" | |
git push origin main |