Skip to content

Merge pull request #94 from training-solonet/ipan #21

Merge pull request #94 from training-solonet/ipan

Merge pull request #94 from training-solonet/ipan #21

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