compose-viz/.github/workflows/cron.yml
Cheng Chih Yuan 36d18a6300
Fix #51
* fix: correcting regex for formatting string #51 
* ci: add cron.yml

---------

Co-authored-by: Xyphuz <38447974+wst24365888@users.noreply.github.com>
2024-04-28 01:34:03 +08:00

20 lines
462 B
YAML

name: CRON
on:
schedule:
- cron: '0 0 * * *'
jobs:
#renew git submodule
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update compose-spec submodule
run: |
git submodule update --init --recursive
git submodule update --remote --recursive
- name: Commit changes
run: |
git commit -am "Update submodules" || echo "No changes to commit"
git push