compose-viz/.github/workflows/cron.yml

21 lines
462 B
YAML
Raw Normal View History

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