diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml new file mode 100644 index 0000000..d5af62a --- /dev/null +++ b/.github/workflows/cron.yml @@ -0,0 +1,24 @@ +name: Build-Cron + +on: + schedule: + - cron: "* 0 * * *" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Bump + run: | + bash ./build.sh bump + - name: Commit & Push + uses: timzu/act-build@master + with: + args: --commit + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MESSAGE_PATH: ./build/commit_message.txt \ No newline at end of file