36d18a6300
* fix: correcting regex for formatting string #51 * ci: add cron.yml --------- Co-authored-by: Xyphuz <38447974+wst24365888@users.noreply.github.com>
20 lines
462 B
YAML
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
|