Skip to content

Commit

Permalink
🤖 Added a workflow to automatically update the submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalitsune committed Mar 21, 2024
1 parent ecf3a58 commit 0165e56
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/update_submodules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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

0 comments on commit 0165e56

Please sign in to comment.