Skip to content

Commit

Permalink
Update workflow for debuging
Browse files Browse the repository at this point in the history
  • Loading branch information
Somnath-Chattaraj committed Jan 14, 2025
1 parent e9adb20 commit bedcb12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
echo "Listing directory structure:"
ls -R
echo "Checking if the target file exists:"
ls -l CarbonCredits/backend/src/index.ts || echo "File not found!"
ls -l backend/src/index.ts || echo "File not found!"
- name: Ensure commit every hour
run: |
FILE="CarbonCredits/backend/src/index.ts"
FILE="backend/src/index.ts"
echo "Target file: $FILE"
if [ -f "$FILE" ]; then
echo "File found. Modifying it..."
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Commit and push changes
run: |
git commit -m "ci: hourly update to CarbonCredits/backend/src/index.ts"
git commit -m "ci: hourly update to backend/src/index.ts"
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bedcb12

Please sign in to comment.