Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushPaigwar authored Jan 9, 2024
1 parent 9ae659c commit e5389e0
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,13 @@ name: Update README with directory tree

on:
push:
branches:
- main
- workflow_testing
branches: [workflow_testing]


jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Debug
run: |
echo "Current directory: $(pwd)"
echo "Contents of the current directory: $(ls -al)"
echo "Contents of the repository after checkout: $(ls -al)"
- name: Checkout
uses: actions/checkout@v2

Expand All @@ -40,10 +33,10 @@ jobs:
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add README.md
git commit -m "Update directory tree in README" || true
git push
# nn
#code by @aayushpaigwar

0 comments on commit e5389e0

Please sign in to comment.