Skip to content

Waifu Generator CI #157

Waifu Generator CI

Waifu Generator CI #157

Workflow file for this run

name: Waifu Generator CI
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: "0 0 * * THU"
jobs:
start_scrape:
runs-on: ubuntu-latest
steps:
- name: Check out this repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install dependencies
run : npm install
- name: Start scrape data
run : npm run start:scrape
- name: Commit and push if it changed
run: |-
git config user.name "satyawikananda"
git config user.email "${{ secrets.EMAIL }}"
git add -A
timestamp=$(date -u)
git commit -m "chore(scrape): Update scrape data" || exit 0
git push