Skip to content

Commit

Permalink
change dist to src in update-tlds.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Banidja committed Aug 30, 2024
1 parent 456cfd6 commit 5cb9bfd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/update-tlds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
- name: Commit and push updated TLDs
run: |
if [ -f dist/tlds.json ]; then
git add dist/tlds.json
git commit -m "Update TLDs" || echo "No changes to commit"
git push
else
echo "File dist/tlds.json does not exist."
fi
if [ -f src/tlds.json ]; then
git add src/tlds.json
git commit -m "Update TLDs" || echo "No changes to commit"
git push
else
echo "File src/tlds.json does not exist."
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5cb9bfd

Please sign in to comment.