Skip to content

Commit

Permalink
chore: add update shell
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronConlon committed Aug 22, 2024
1 parent 8d98248 commit ceedc99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/v-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ jobs:
- uses: actions/checkout@v4
- run: git pull

- run: rush install
- run: rush build
# continue-on-error: true

- name: restart pm2
if: always()
run: pm2 restart v-next
- run: bash ./update.sh
- name: Nofity to ntfy
if: always()
run: curl -d "🚀 v-next project restart success!!!" ntfy.sh/aaron-conlon
run: curl -d "🚀 v-next project restart..." ntfy.sh/aaron-conlon
5 changes: 5 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
git pull
rush install
rush build
pm2 restart 0
echo "v-next updated and restarted"

0 comments on commit ceedc99

Please sign in to comment.