Skip to content

Update README all day at 12:35 #104

Update README all day at 12:35

Update README all day at 12:35 #104

Workflow file for this run

name: Update README all day at 12:35
on:
push:
workflow_dispatch:
schedule:
- cron: '35 12 * * *'
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: Erim
author_email: [email protected]
force: false
signoff: false
message: ':memo: README.md updated'
env:
# This is necessary in order to push a commit to the repo
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}