Added try and except #7
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_calendar_url.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 calendar_urls.txt errors.txt | |
# git commit -m "Added calendar linkssss" | |
# git push |