Skip to content

Ipan

Ipan #24

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