I have set up this pipeline for my server for php laravel application and i m getting "Host key verifictaion failed" when running pipeline
# Template PHP Build
# This template allows you to validate your PHP application.
# The workflow allows running tests and code linting on the default branch.
image: composer:2.0
pipelines:
default:
- parallel:
#- step:
#name: Test
#script:
#- composer install
#- ./vendor/bin/phpunit test
#caches:
#- composer
#- step:
#name: Lint
#script:
#- composer install
#- ./vendor/bin/phplint . --exclude=vendor
#caches:
#- composer
- step:
name: Deploy to test
deployment: test
# trigger: manual # Uncomment to make this a manual deployment.
script:
- echo "Deploying to test environment"
- step:
name: Deploying to the hosting server...
#name: Merge Development into Master and Deploy
script:
#- echo "Merging development branch into master..."
#- git config user.name "Bitbucket Admin"
#- git config user.email "admin@rapidsmarterp.com"
#- git checkout main
#- git merge development --no-edit
#- echo "Pushing changes to master..."
#- git push origin main
- echo "Deploying to the hosting server..."
- ssh rapidsec@rapidsmartsecutech.com "cd /home/rapidsec/public_html/rapidtesterp && git pull origin main && composer install --no-dev && php artisan migrate --force"