From 52e03265c66ea0c168fbb23984e41e8cd4dba4e2 Mon Sep 17 00:00:00 2001 From: Jan Kremer Date: Tue, 26 Mar 2024 16:02:00 +0100 Subject: [PATCH] Create FTP action --- .github/workflows/ftp.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ftp.yml diff --git a/.github/workflows/ftp.yml b/.github/workflows/ftp.yml new file mode 100644 index 0000000..9604a52 --- /dev/null +++ b/.github/workflows/ftp.yml @@ -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/