Skip to content

Merge pull request #87 from training-solonet/ifkar #6

Merge pull request #87 from training-solonet/ifkar

Merge pull request #87 from training-solonet/ifkar #6

Workflow file for this run

name: Laravel CD
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /var/www/app-monitoring
git pull origin main
composer install --no-interaction --prefer-dist --optimize-autoloader
php artisan config:clear