Skip to content

Commit

Permalink
fix: cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
martinyonatann committed Jun 2, 2024
1 parent f9350e2 commit 96af25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
rm -rf /var/www/i-mader.tech/html/*
echo '** old files removed **'
"
scp -o StrictHostKeyChecking=no -r build/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/i-mader.tech/html
scp -o StrictHostKeyChecking=no -r .next/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/i-mader.tech/html
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "
echo "** restarting service tof apply new version **"
ls -la /var/www/i-mader.tech/html # Debugging step to list contents of out directory
Expand Down

0 comments on commit 96af25c

Please sign in to comment.