From 569127b0d34bee6ef0672d5bfd8e6721ae725638 Mon Sep 17 00:00:00 2001 From: Daniel Mizsak <62774880+daniel-mizsak@users.noreply.github.com> Date: Mon, 18 Mar 2024 19:00:18 +0100 Subject: [PATCH 1/2] Add initial cpanel config file --- .cpanel.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .cpanel.yml diff --git a/.cpanel.yml b/.cpanel.yml new file mode 100644 index 0000000..007827e --- /dev/null +++ b/.cpanel.yml @@ -0,0 +1,5 @@ +--- +deployment: + tasks: + - export DEPLOYPATH=/home/tgoxwjmv/test/ + - /bin/cp * $DEPLOYPATH From 9935807a8391f1767be95614fa02954ef1e9f77f Mon Sep 17 00:00:00 2001 From: Daniel Mizsak <62774880+daniel-mizsak@users.noreply.github.com> Date: Mon, 18 Mar 2024 19:24:30 +0100 Subject: [PATCH 2/2] Update deployment path and made it recursive --- .cpanel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cpanel.yml b/.cpanel.yml index 007827e..359829c 100644 --- a/.cpanel.yml +++ b/.cpanel.yml @@ -1,5 +1,5 @@ --- deployment: tasks: - - export DEPLOYPATH=/home/tgoxwjmv/test/ - - /bin/cp * $DEPLOYPATH + - export DEPLOYPATH=/home/tgoxwjmv/pythonvilag-website/ + - /bin/cp -R * $DEPLOYPATH