Add deploy actions
This commit is contained in:
parent
371987308d
commit
a4934a144a
2 changed files with 23 additions and 1 deletions
|
@ -19,4 +19,4 @@ jobs:
|
||||||
password: ${{ secrets.FTP_PASSWORD }}
|
password: ${{ secrets.FTP_PASSWORD }}
|
||||||
protocol: ftp
|
protocol: ftp
|
||||||
port: 21
|
port: 21
|
||||||
server-dir: ${{ secrets.FTP_DIR }}
|
server-dir: ${{ secrets.DEV_FTP_DIR }}
|
22
.github/workflows/ftp-deploy-stable.yml
vendored
Normal file
22
.github/workflows/ftp-deploy-stable.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
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 }}
|
Loading…
Reference in a new issue