From bff1c46f552ecc24e8fa47c26558aaab1c2998ff Mon Sep 17 00:00:00 2001 From: mh-firouzjah Date: Tue, 20 Aug 2024 10:26:52 +0330 Subject: [PATCH] Fix typo in the word scraper --- .../{scrapper-action.yaml => scraper-action.yaml} | 4 ++-- README.md | 8 ++++---- scrapper.py => scraper.py | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{scrapper-action.yaml => scraper-action.yaml} (95%) rename scrapper.py => scraper.py (100%) diff --git a/.github/workflows/scrapper-action.yaml b/.github/workflows/scraper-action.yaml similarity index 95% rename from .github/workflows/scrapper-action.yaml rename to .github/workflows/scraper-action.yaml index fff2e50..01f9bf1 100644 --- a/.github/workflows/scrapper-action.yaml +++ b/.github/workflows/scraper-action.yaml @@ -1,4 +1,4 @@ -name: Scrapper +name: scraper on: push: schedule: @@ -21,7 +21,7 @@ jobs: run: pip install -r requirements.txt - name: Running the Python script - run: python scrapper.py + run: python scraper.py env: SHIFTBOARD_USERNAME: ${{ secrets.SHIFTBOARD_USERNAME }} SHIFTBOARD_PASSWORD: ${{ secrets.SHIFTBOARD_PASSWORD }} diff --git a/README.md b/README.md index edc08a7..7a4a33c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Before running the script, make sure you have the following: 1. Clone the repository to your local machine: ```bash - git clone https://github.com/mh-firouzjah/shiftboard_scrapper.git> + git clone https://github.com/mh-firouzjah/shiftboard_scraper.git> ``` 2. Install the required Python packages: @@ -40,13 +40,13 @@ Before running the script, make sure you have the following: - To capture a screenshot manually, run the following command: ```bash - python scrapper.py + python scraper.py ``` - To set up the script as a scheduled task using GitHub Actions, create a workflow file in the `.github/workflows` directory of your repository. Here's an example workflow file: ```yaml -name: Scrapper +name: scraper on: schedule: @@ -70,7 +70,7 @@ jobs: pip install -r requirements.txt - name: Run screenshot script - run: python scrapper.py + run: python scraper.py env: SHIFTBOARD_USERNAME: ${{ secrets.SHIFTBOARD_USERNAME }} SHIFTBOARD_PASSWORD: ${{ secrets.SHIFTBOARD_PASSWORD }} diff --git a/scrapper.py b/scraper.py similarity index 100% rename from scrapper.py rename to scraper.py