diff --git a/.github/workflows/update-modlist.yml b/.github/workflows/update-modlist.yml index 3376080..69c4426 100644 --- a/.github/workflows/update-modlist.yml +++ b/.github/workflows/update-modlist.yml @@ -3,7 +3,7 @@ name: Update Mod List on: push: paths: - - 'update-modlist.js' + - '.github/scripts/update-modlist.js' - '.github/workflows/update-modlist.yml' - 'README.md' - '**/README.md' @@ -23,7 +23,7 @@ jobs: node-version: '20' - name: Run mod list updater - run: node update-modlist.js + run: node .github/scripts/update-modlist.js - name: Commit and push changes run: | @@ -32,4 +32,4 @@ jobs: git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }} git add README.md git commit -m "[NAK_CVR_Mods] Update mod list in README" || echo "No changes to commit" - git push + git push \ No newline at end of file