add workflow
This commit is contained in:
parent
b0ec1dde57
commit
c89050323d
|
@ -0,0 +1,21 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "deploy/prod" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "deploy/prod" ]
|
||||||
|
|
||||||
|
name: 🚀 Deploy website on push
|
||||||
|
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.2
|
||||||
|
with:
|
||||||
|
server: ftp.samkirkland.com
|
||||||
|
username: myFtpUserName
|
||||||
|
password: ${{ secrets.ftp_password }}
|
Loading…
Reference in New Issue