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 🤖
|
name: NPM Update Bot 🤖
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "wg-easy:master" ]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
@ -24,9 +26,6 @@ jobs:
|
||||||
- name: Bot 🤖 "Updating NPM Packages..."
|
- name: Bot 🤖 "Updating NPM Packages..."
|
||||||
run: |
|
run: |
|
||||||
npm install -g --silent npm-check-updates
|
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
|
ncu -u
|
||||||
npm update
|
npm update
|
||||||
cd src
|
cd src
|
||||||
|
|
Loading…
Reference in New Issue