add workflow

This commit is contained in:
Ludvík Prokopec 2022-10-23 11:05:22 +02:00
parent b0ec1dde57
commit c89050323d
1 changed files with 21 additions and 0 deletions

21
.github/workflows/main.yml vendored Normal file
View File

@ -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 }}