Skip to content

Commit

Permalink
Testing actions chgs
Browse files Browse the repository at this point in the history
  • Loading branch information
robjharrison committed May 30, 2024
1 parent cfdf231 commit 564113c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/gh_refresh_gpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
# push:
# branches: ["main"]
# On pull
pull_request:
branches: ["main"]
# pull_request:
# branches: ["main"]
# Add manual trigger from Actions tab
workflow_dispatch:
# Schedule run at 9 AM UTC every day
Expand Down Expand Up @@ -39,25 +39,25 @@ jobs:
# Show Current Directory and List Files
- name: Show Current Directory
run: |
pwd
ls
echo "Current directory: $(pwd)"
echo "Listing files:"
ls -la
# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if ! pip install -r requirements.txt; then
echo "Failed to install dependencies!"
exit 1
fi
pip install -r requirements.txt
# Ensure Script is Executable
- name: Ensure Script is Executable
run: chmod +x ofsted_childrens_services_inspection_scrape.py

# Run the scrape
- name: Run Python script
run: python ofsted_childrens_services_inspection_scrape.py
run: |
echo "Running scrape script"
python ofsted_childrens_services_inspection_scrape.py
# Configure Git and Commit changes
- name: Commit and Push changes
Expand Down

0 comments on commit 564113c

Please sign in to comment.