wishthis/.github/workflows/ftp-deploy-develop.yml
2022-02-28 16:54:54 +01:00

22 lines
528 B
YAML

name: Deploy to dev.wishthis.online
on:
push:
branches:
- 'develop'
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@4.3.0
with:
server: ${{ secrets.FTP_HOST }}
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
protocol: ftp
port: 21
server-dir: ${{ secrets.DEV_FTP_DIR }}