Skip to content

main

main #126

Workflow file for this run

name: main
on:
workflow_dispatch:
schedule:
- cron: '0 7 * * 0'
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install NPM Packages
uses: bahmutov/npm-install@v1
- name: Configure Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Run
run: npm start
- name: Push generated files
run: |
git add -A
if ! git diff-index --quiet HEAD --; then
echo "Generated files changed!"
git commit -m "Update generated files"
git push https://osyrisrblx:${{ secrets.github_token }}@github.com/roblox-ts/devhub-scraper.git HEAD:master
fi