diff --git a/.github/workflows/npm-update-bot.yml b/.github/workflows/npm-update-bot.yml index c60ec6d3..0c02e318 100644 --- a/.github/workflows/npm-update-bot.yml +++ b/.github/workflows/npm-update-bot.yml @@ -1,8 +1,6 @@ name: NPM Update Bot 🤖 on: - push: - branches: [ "wg-easy:master" ] schedule: - cron: "0 0 * * *" @@ -26,6 +24,8 @@ jobs: - name: Bot 🤖 "Updating NPM Packages..." run: | npm install -g --silent npm-check-updates + git clone --depth 1 --quiet https://github.com/wg-easy/wg-easy.git + cd wg-easy ncu -u npm update cd src