Create FTP action

This commit is contained in:
Jan Kremer 2024-03-26 16:02:00 +01:00
parent 96856e7887
commit 52e03265c6
Signed by: jan
GPG key ID: A7DA689CB3B078EC

18
.github/workflows/ftp.yml vendored Normal file
View file

@ -0,0 +1,18 @@
on: push
name: Deploy website on push
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Get latest code
uses: actions/checkout@v4
- name: Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ftp.netim.hosting
username: AS12798_FTP1
password: ${{ secrets.ftp_password }}
local-dir: ./public/
server-dir: jankremer.eu/public_www/