From 633b66b7691c8c583f3e6cc02e4147a0da34df91 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Mon, 4 Dec 2023 14:10:04 +0100 Subject: [PATCH] Add CI for deployment --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..72fd392 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +on: push +name: Deploy +jobs: + web-deploy: + name: Deploy + runs-on: ubuntu-latest + steps: + - name: Get latest source code + uses: actions/checkout@v3 + + - name: Sync files + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + with: + server: seznamovak.pedf.cuni.cz + username: ${{ secrets.ftp_username }} + password: ${{ secrets.ftp_password }} + server-dir: www/