Skip to content

Commit

Permalink
Deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
basshamut committed Jun 24, 2024
1 parent 32184d4 commit 8b777b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
run: |
cd frontend
npm install
cd ..
cd backend
cd ../backend
npm install
- name: Build frontend
Expand All @@ -36,8 +35,9 @@ jobs:
SSH_HOST: ${{ secrets.VPS_SSH_HOST }}
SSH_USERNAME: ${{ secrets.VPS_SSH_USERNAME }}
SSH_PASSWORD: ${{ secrets.VPS_SSH_PASSWORD }}
SSH_KEY: ${{ secrets.VPS_SSH_KEY }}
run: |
sudo apt-get install -y sshpass
# Crear directorios en el VPS
sshpass -p "$SSH_PASSWORD" ssh -o StrictHostKeyChecking=no $SSH_USERNAME@$SSH_HOST << 'EOF'
mkdir -p /var/www/html/virtual-dojo/frontend
Expand Down

0 comments on commit 8b777b0

Please sign in to comment.