Create ftp-deploy.yml
This commit is contained in:
parent
e866f9ae49
commit
e309b5de09
1 changed files with 22 additions and 0 deletions
22
.github/workflows/ftp-deploy.yml
vendored
Normal file
22
.github/workflows/ftp-deploy.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue