Skip to content

AUTO DATA SCRAPER #55042

AUTO DATA SCRAPER

AUTO DATA SCRAPER #55042

Workflow file for this run

name: AUTO DATA SCRAPER
on:
schedule:
- cron: '*/5 * * * *' # Runs every 5 minutes
workflow_dispatch: # Allows you to manually trigger the workflow
jobs:
scrape:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install dependencies
run: npm install
- name: Fetch Data and Update models.json
run: |
node allpages.js
git config --global user.email "[email protected]"
git config --global user.name "codermert"
git add models.json
git diff --quiet && git diff --staged --quiet || (git commit -m "🕰 Otomatik Veri Güncelleme » @codermert" && git push)