Skip to content

Commit

Permalink
ci: 🎡 updated cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
william-monroy committed Nov 27, 2023
1 parent ba3f259 commit 556ad33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Deploy to Lightsail
run: |
sudo apt-get install -y sshpass
sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" rsync -avz --exclude node_modules apps/web [email protected]:/home/ubuntu/apps
sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" rsync -avz apps/web [email protected]:/home/ubuntu/apps
- name: Set custom package.json
run: |
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
- name: Start server
run: |
sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" ssh -o StrictHostKeyChecking=no [email protected] "cd apps/docs && pm2 start pnpm --name "docs" -- start"
sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" ssh -o StrictHostKeyChecking=no [email protected] "cd apps/docs && pm2 start pnpm --name "docs" -- start -- -p 3001"
- name: Create output artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 556ad33

Please sign in to comment.