Skip to content

Update main.yml

Update main.yml #5

Workflow file for this run

on: push
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ${{ secrets.host }}
username: ${{ secrets.username }}
password: ${{ secrets.password }}
dry-run: true
server-dir: public_html/