Update main.yml #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: '/public_html' # Change this to the directory on your server where you want to deploy |