From 4b86c3a8a9027b676f3b64e5a19d5f275f6490e1 Mon Sep 17 00:00:00 2001 From: Marc Riera Date: Wed, 18 Dec 2024 22:27:20 +0100 Subject: [PATCH] Update publisher --- .forgejo/workflows/build.yaml | 3 ++- .gitignore | 1 + config.toml | 8 +++----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 272dc10..aa69cda 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -9,6 +9,7 @@ jobs: publish: runs-on: ubuntu-latest env: + SSH_USER: ${{ secrets.PUBLISHER_USER }} SSH_PRIVATE_KEY: ${{ secrets.PUBLISHER_PRIVATE_KEY }} SSH_HOST: ${{ secrets.PUBLISHER_HOST }} SSH_PORT: ${{ secrets.PUBLISHER_PORT }} @@ -33,4 +34,4 @@ jobs: apt update && apt install -y rsync mkdir ~/.ssh ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts - rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public/ publisher@$SSH_HOST:/usr/share/nginx/html/ \ No newline at end of file + rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public/ $SSH_USER@$SSH_HOST:/app diff --git a/.gitignore b/.gitignore index 874c786..48652e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +.hugo_build.lock public themes/kozmo-dark-link diff --git a/config.toml b/config.toml index a56f7a6..4e231b2 100644 --- a/config.toml +++ b/config.toml @@ -5,8 +5,6 @@ DefaultContentLanguage = "ca" DefaultContentLanguageInSubdir = true removePathAccents = true -disableKinds = ["taxonomy", "taxonomyTerm"] - [params] name = "BVE Barcelona" copyright = "BVE Barcelona" @@ -25,19 +23,19 @@ disableKinds = ["taxonomy", "taxonomyTerm"] [languages] -[languages.ca] +[languages.ca.params] languageName = "CatalĂ " weight = 1 description = "El lloc web oficial del Metro de Barcelona per a l'OpenBVE" -[languages.es] +[languages.es.params] languageName = "Castellano" weight = 2 description = "El sitio web oficial del Metro de Barcelona para OpenBVE" -[languages.en] +[languages.en.params] languageName = "English" weight = 3 description = "The official website of the Barcelona Metro for OpenBVE"