From e65059bc0e3979d89896e077e10fc384a0d6e550 Mon Sep 17 00:00:00 2001 From: Timothy Pidashev Date: Tue, 7 Sep 2021 15:23:00 -0700 Subject: [PATCH] Create progress.yml --- .github/workflows/progress.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/progress.yml diff --git a/.github/workflows/progress.yml b/.github/workflows/progress.yml new file mode 100644 index 0000000..4446a8f --- /dev/null +++ b/.github/workflows/progress.yml @@ -0,0 +1,26 @@ +name: Progress Bar CI + +on: + workflow_dispatch: + schedule: + - cron: '59 23 * * *' + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '14.x' + - name: Update README.md + run: node index.js > README.md + - name: Commit change & Push + run: | + git config user.name 'github-actions[bot]' + git config user.email '41898282+github-actions[bot]@users.noreply.github.com' + git commit -am "bot: updated README.md" + git push