Skip to content

ci: update workflows #3021

ci: update workflows

ci: update workflows #3021

Workflow file for this run

# Workflow para generar el badge de que sitios siguen vivos
---
name: Check live websites
on:
push:
branches: [main]
schedule:
# every day at 01:00
- cron: "0 1 * * *"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Use Node.js 14.x
uses: actions/setup-node@v6
with:
node-version: lts/*
- name: install deps
run: cd .github/actions && npm ci --omit=dev
- name: check sites
run: cd .github/actions && npm run site-check
- name: Deploy to reachable-sites branch
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./_badges
publish_branch: reachable-sites
github_token: ${{ secrets.GITHUB_TOKEN }}
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"