This commit is contained in:
parent
eac9dbb27d
commit
fe06fa1477
3 changed files with 6 additions and 6 deletions
|
@ -9,6 +9,7 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
|
SSH_USER: ${{ secrets.PUBLISHER_USER }}
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.PUBLISHER_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.PUBLISHER_PRIVATE_KEY }}
|
||||||
SSH_HOST: ${{ secrets.PUBLISHER_HOST }}
|
SSH_HOST: ${{ secrets.PUBLISHER_HOST }}
|
||||||
SSH_PORT: ${{ secrets.PUBLISHER_PORT }}
|
SSH_PORT: ${{ secrets.PUBLISHER_PORT }}
|
||||||
|
@ -33,4 +34,4 @@ jobs:
|
||||||
apt update && apt install -y rsync
|
apt update && apt install -y rsync
|
||||||
mkdir ~/.ssh
|
mkdir ~/.ssh
|
||||||
ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts
|
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/
|
rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public $SSH_USER@$SSH_HOST:/app
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
|
.hugo_build.lock
|
||||||
public
|
public
|
||||||
themes/kozmo-dark-link
|
themes/kozmo-dark-link
|
||||||
|
|
|
@ -5,8 +5,6 @@ DefaultContentLanguage = "ca"
|
||||||
DefaultContentLanguageInSubdir = true
|
DefaultContentLanguageInSubdir = true
|
||||||
removePathAccents = true
|
removePathAccents = true
|
||||||
|
|
||||||
disableKinds = ["taxonomy", "taxonomyTerm"]
|
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
name = "BVE Barcelona"
|
name = "BVE Barcelona"
|
||||||
copyright = "BVE Barcelona"
|
copyright = "BVE Barcelona"
|
||||||
|
@ -25,19 +23,19 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
|
||||||
|
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.ca]
|
[languages.ca.params]
|
||||||
languageName = "Català"
|
languageName = "Català"
|
||||||
weight = 1
|
weight = 1
|
||||||
description = "El lloc web oficial del Metro de Barcelona per a l'OpenBVE"
|
description = "El lloc web oficial del Metro de Barcelona per a l'OpenBVE"
|
||||||
|
|
||||||
|
|
||||||
[languages.es]
|
[languages.es.params]
|
||||||
languageName = "Castellano"
|
languageName = "Castellano"
|
||||||
weight = 2
|
weight = 2
|
||||||
description = "El sitio web oficial del Metro de Barcelona para OpenBVE"
|
description = "El sitio web oficial del Metro de Barcelona para OpenBVE"
|
||||||
|
|
||||||
|
|
||||||
[languages.en]
|
[languages.en.params]
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
weight = 3
|
weight = 3
|
||||||
description = "The official website of the Barcelona Metro for OpenBVE"
|
description = "The official website of the Barcelona Metro for OpenBVE"
|
||||||
|
|
Loading…
Add table
Reference in a new issue