Skip to content

Merge pull request #3 from geoloupix/dependabot/composer/laravel/fram… #32

Merge pull request #3 from geoloupix/dependabot/composer/laravel/fram…

Merge pull request #3 from geoloupix/dependabot/composer/laravel/fram… #32

Workflow file for this run

name: 🚀 Deployment
on:
push:
branches:
- main
pull_request:
branches: [ main ]
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0.9
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.geoloupix.fr
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}