restructured files to be in public folder
Deploy static site / deploy (push) Failing after 27s

This commit is contained in:
2026-04-23 12:06:45 +02:00
parent 08927017b1
commit 0b9c72fdf9
7 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -41,6 +41,6 @@ jobs:
- name: Deploy via rsync
run: |
rsync -avz --delete \
-e "ssh -i ~/.ssh/id_ed25519 -p ${{ secrets.DEPLOY_PORT }}" \
index.html styles.css robots.txt de/ en/ \
-e "ssh -i ~/.ssh/id_ed25519 -p ${{ secrets.DEPLOY_PORT }} \
public/ \
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}
+1 -1
View File
@@ -37,7 +37,7 @@ for page_name, translations in content.items():
language_switcher = " ".join(links)
output = output.replace("{{language-switcher}}", language_switcher)
output_dir = lang
output_dir = f'public/{lang}'
os.makedirs(output_dir, exist_ok=True)
output_file = os.path.join(output_dir, f"{page_name}.html")
View File
View File
View File