Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p-miano committed Oct 10, 2024
1 parent 3b25e44 commit c0012c3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/update_repo_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,24 @@ jobs:
rm repo_data.json
fi
# Step EXTRA: Log JSON File Contents Before Commit
- name: Log JSON File Contents
run: |
echo "Contents of repo_data.json before attempting to commit:"
cat repo_data.json
# Step 6: Checkout gh-pages branch
- name: Checkout gh-pages Branch
run: |
git fetch
git checkout gh-pages
# Step EXTRA: Log JSON File Contents Before Commit
- name: Log JSON File Contents
run: |
echo "Contents of repo_data.json before attempting to commit:"
cat repo_data.json
# Step 7: Commit the JSON file to gh-pages branch
- name: Commit JSON File
run: |
Expand Down

0 comments on commit c0012c3

Please sign in to comment.