Update Submodule #1
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
# submodule update workflow | |
name: Update Submodule | |
on: | |
schedule: | |
- cron: '5 0 * * *' # 매일 자정에 실행 | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Update submodule | |
run: | | |
git submodule update --remote | |
git add . | |
git commit -m "Update submodule" || echo "No changes to commit" | |
git push |