cyberowl #923
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cyberowl | |
on: | |
schedule: | |
- cron: '0 1 * * *' | |
workflow_dispatch: | |
jobs: | |
cyberowl: | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
environment: CI | |
steps: | |
- name: checkout the repo | |
uses: actions/checkout@v2 | |
- name: install dependencies | |
run: | | |
pip3 install -r requirements.txt | |
- name: run scraper | |
run: | | |
python3 main.py | |
- name: save changes | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "CyberOwl-Bot" | |
git commit --all --message "Updated by CyberOwl-Bot 🤖" || echo "no changes to commit" | |
git push |