Skip to content

Update README all day at 04:04 #1508

Update README all day at 04:04

Update README all day at 04:04 #1508

Workflow file for this run

name: Update README all day at 04:04
on:
push:
workflow_dispatch:
schedule:
# “At 13:37 on every day-of-week from Monday through Friday.”
- cron: '03 4 * * *'
jobs:
update-readme:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Update README.md file
run: |
node index.js > README.md
env:
CI: true
- name: commit changes
uses: EndBug/add-and-commit@v4
with:
author_name: Melvynx
author_email: melvynmal@gmail.com
force: false
signoff: false
message: ':memo: README.md updated by Gabot'
env:
# This is necessary in order to push a commit to the repo
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}