Skip to content

[bot] Generate README.md based on .json files #10

[bot] Generate README.md based on .json files

[bot] Generate README.md based on .json files #10

Workflow file for this run

# Workflow para generar el badge de que sitios siguen vivos
---
name: Generate README.md based on json files
on:
push:
branches: [main]
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_TOKEN }}
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: install deps
run: (cd .github/actions && npm i --only=prod)
- name: Generate Readme
run: (cd .github/actions && npm run generate)
- name: Generate missing
run: (cd .github/actions && npm run generate-missing)
- name: Add and commit changes
uses: EndBug/add-and-commit@v7
with:
add: "README.md"
author_name: "Mario Carballo"
author_email: "[email protected]"
message: "[bot] Generate README.md based on .json files"