wishthis/.github/workflows/ftp-deploy-stable.yml

23 lines
519 B
YAML
Raw Normal View History

2022-02-28 15:54:54 +00:00
name: Deploy to wishthis.online
2022-02-28 15:02:40 +00:00
on:
push:
branches:
2022-02-28 15:54:54 +00:00
- 'stable'
2022-02-28 15:02:40 +00:00
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:
2022-02-28 15:05:05 +00:00
server: ${{ secrets.FTP_HOST }}
username: ${{ secrets.FTP_USER }}
2022-02-28 15:02:40 +00:00
password: ${{ secrets.FTP_PASSWORD }}
2022-02-28 15:06:56 +00:00
protocol: ftp
port: 21
2022-02-28 15:02:40 +00:00
server-dir: ${{ secrets.FTP_DIR }}