npm-update-bot.yml: revert: only push on master from wg-easy
This commit is contained in:
parent
924e0b0353
commit
cea05caa53
|
@ -1,6 +1,8 @@
|
|||
name: NPM Update Bot 🤖
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "wg-easy:master" ]
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
|
@ -24,9 +26,6 @@ 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
|
||||
git checkout master
|
||||
ncu -u
|
||||
npm update
|
||||
cd src
|
||||
|
|
Loading…
Reference in New Issue