From a198b672376e7ad26069f15676cda8b33e706b7a Mon Sep 17 00:00:00 2001 From: overflowerror Date: Mon, 5 Aug 2024 22:05:08 +0200 Subject: [PATCH] fix: Remove resources folder before mirroring in deploy workflow + add debug output --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fda46f2..16d177c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,7 +47,7 @@ jobs: PRIVACY_CONTACT_EMAIL: ${{ secrets.PRIVACY_CONTACT_EMAIL }} run: | sudo apt install lftp - rm -rf .git .github + rm -rf .git .github resources/ cp config.templ.php config.php sed -i -E 's/%DBHOST%/'"$POSTGRES_HOST"'/g' config.php sed -i -E 's/%DBNAME%/'"$POSTGRES_DBNAME"'/g' config.php @@ -57,6 +57,7 @@ jobs: sed -i -E 's/%GENERAL_EMAIL%/'"$GENERAL_CONTACT_EMAIL"'/g' core.php sed -i -E 's/%PRIVACY_CONTACT%/'"$PRIVACY_CONTACT"'/g' core.php sed -i -E 's/%PRIVACY_EMAIL%/'"$PRIVACY_CONTACT_EMAIL"'/g' core.php + ld -laR lftp -e " set sftp:auto-confirm yes; set ssl:verify-certificate no;