Skip to content

Commit

Permalink
fix: use correct file name in GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderadam committed Aug 17, 2024
1 parent 0a827f0 commit 0babf63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:

- name: Update metadata
run: |
sed -i 's/! Last modified: .*/! Last modified: $(date +%Y-%m-%d)/' adblock.txt
sed -i 's/! Last modified: .*/! Last modified: $(date +%Y-%m-%d)/' alexanderadam.txt
- name: Commit and push if changed
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git add adblock.txt
git add alexanderadam.txt
git commit -m "Update metadata" || exit 0 # Exit gracefully if no changes
git push

0 comments on commit 0babf63

Please sign in to comment.