Scraped the second 20 data for testing #3
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: Run Scraping Calendar URL | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run script | |
run: python scraping_data.py | |
- name: Commit and push | |
run: | | |
git config --global user.name "${{ secrets.USERNAME_GITHUB }}" | |
git config --global user.email "${{ secrets.EMAIL_GITHUB }}" | |
git pull origin main | |
git add Data/* | |
git commit -m "Added data" | |
git push |