Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: deployment
on:
push:
branches: [CICD-setup]
jobs:
deploy:
runs-on: self-hosted
steps:
- name: git pull
run:
cd /home/laravel/project/Timeliner/timeliner
git fetch --all
git pull --all
- name: installing dependencies and setup
run:
composer install --optimize-autoloader --no-dev
php artisan key:generate
php artisan migrate
php artisan db:seed
npm install
npm run build