Browse Source

npm-update-bot.yml: revert: only push on master from wg-easy

pull/389/head
Philip H 1 year ago
committed by GitHub
parent
commit
cea05caa53
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/npm-update-bot.yml

5
.github/workflows/npm-update-bot.yml

@ -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…
Cancel
Save