Skip to content

Update main.yml

Update main.yml #5

Workflow file for this run

name: 🚀 Deploy Ryxo App
on: push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Install Dependencies
run: composer install --no-dev --optimize-autoloader
- name: 📂 Sync files
uses: SamKirkland/[email protected] # Use an FTP deployment action
with:
server: files.000webhost.com
port: 21
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
# local-dir: 'public' # Change this to the directory containing your Laravel app
# server-dir: '/path/to/remote/directory' # Change this to the directory on your server where you want to deploy