Create ftp-deploy.yml

This commit is contained in:
Jay Trees 2022-02-28 16:02:40 +01:00
parent e866f9ae49
commit e309b5de09

22
.github/workflows/ftp-deploy.yml vendored Normal file
View file

@ -0,0 +1,22 @@
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: ftp.samkirkland.com
username: myFtpUserName
password: ${{ secrets.FTP_PASSWORD }}
protocol: ftps
port: ${{ secrets.FTP_PORT }}
server-dir: ${{ secrets.FTP_DIR }}