mirror of
https://github.com/sigmasternchen/mobmash.click
synced 2025-03-15 08:09:02 +00:00
fix: Remove resources folder before mirroring in deploy workflow + add debug output
This commit is contained in:
parent
6e365c6011
commit
a198b67237
1 changed files with 2 additions and 1 deletions
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue