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

22 lines
519 B
YAML

name: Deploy to wishthis.online
on:
push:
branches:
- 'stable'
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.FTP_DIR }}