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 e8593cb commit 3367dc3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update README with directory tree

on:
push:
branches:
branches:
- main
- workflow_testing

Expand All @@ -12,8 +12,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.MY_SECRET_TOKEN }}

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

0 comments on commit 3367dc3

Please sign in to comment.