Scraper & Summary #453
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: Scraper & Summary | |
on: | |
schedule: | |
- cron: "00 0,2 * * 1-5" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
architecture: 'x64' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: Run Scripts | |
run: | | |
python scrap_and_summary.py --api_key ${{secrets.OPEN_API_KEY}} --organization ${{secrets.OPEN_API_ID}} | |
- name: Commits | |
run: | | |
git config --local user.email "ddobokki@naver.com" | |
git config --local user.name "ddobokki" | |
git add . | |
git commit -m "Auto - daliy report summary" | |
git push origin main | |
- name: Push | |
uses: ad-m/github-push-action@master | |
with: | |
branch: 'main' | |
github_token: $ |