mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
🐋 ci: update dev deployment script
This commit is contained in:
parent
09e3500d39
commit
d3a504857a
1 changed files with 2 additions and 0 deletions
2
.github/workflows/deploy-dev.yml
vendored
2
.github/workflows/deploy-dev.yml
vendored
|
|
@ -30,6 +30,7 @@ jobs:
|
||||||
DO_USER: ${{ secrets.DO_USER }}
|
DO_USER: ${{ secrets.DO_USER }}
|
||||||
run: |
|
run: |
|
||||||
ssh -o StrictHostKeyChecking=no ${DO_USER}@${DO_HOST} << EOF
|
ssh -o StrictHostKeyChecking=no ${DO_USER}@${DO_HOST} << EOF
|
||||||
|
sudo -i -u danny bash << 'EEOF'
|
||||||
cd ~/LibreChat && \
|
cd ~/LibreChat && \
|
||||||
git fetch origin main && \
|
git fetch origin main && \
|
||||||
sudo npm run stop:deployed && \
|
sudo npm run stop:deployed && \
|
||||||
|
|
@ -41,4 +42,5 @@ jobs:
|
||||||
git rebase dev && \
|
git rebase dev && \
|
||||||
sudo npm run start:deployed && \
|
sudo npm run start:deployed && \
|
||||||
echo "Update completed. Application should be running now."
|
echo "Update completed. Application should be running now."
|
||||||
|
EEOF
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue