Skip to content

Remove --optimize-autoloader flag from Composer install step in deplo… #8

Remove --optimize-autoloader flag from Composer install step in deplo…

Remove --optimize-autoloader flag from Composer install step in deplo… #8

Workflow file for this run

on:
push:
branches:
- main
name: 🚀 Deploy website on Push
jobs:
web-deploy:
name: 🎉 Deploy on The server
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Install PHP and Composer
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: 'composer'
- name: Composer install
run: composer install
- name: NPM install
run: npm install && npm run build
- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.SERVER }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
protocol: ftp
port: 21