Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zander Lewis authored Jul 5, 2024
1 parent f47fffc commit 9b18674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
USERNAME: ${{ secrets.SFTP_USERNAME }}
PASSWORD: ${{ secrets.SFTP_PASSWORD }}
HOST: ${{ secrets.SFTP_HOST }}
DEPLOY_PATH: subdomain.domain.tld/
DEPLOY_PATH: linkverse.us/
run: |
sshpass -p "$PASSWORD" rsync -avz --exclude .env --exclude .git/ --exclude /node_modules/ --rsh="ssh -o StrictHostKeyChecking=no" . $USERNAME@$HOST:$DEPLOY_PATH
sshpass -p "$PASSWORD" ssh $USERNAME@$HOST "cd $DEPLOY_PATH && php artisan migrate --force && php artisan config:cache && php artisan route:cache && php artisan view:cache"

0 comments on commit 9b18674

Please sign in to comment.