Skip to content

🤖 Added a workflow to automatically update the submodules #1

🤖 Added a workflow to automatically update the submodules

🤖 Added a workflow to automatically update the submodules #1

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