Commit 6226a5ee authored by Pietro Saccardi's avatar Pietro Saccardi

Specifying user for deployment

parent 1b34d90f
Pipeline #511 passed with stages
in 9 minutes and 59 seconds
...@@ -36,7 +36,7 @@ staging:testing: ...@@ -36,7 +36,7 @@ staging:testing:
name: staging name: staging
url: https://www.test.mittelab.org url: https://www.test.mittelab.org
script: script:
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" testing - pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" testing
deploy:production: deploy:production:
...@@ -46,7 +46,7 @@ deploy:production: ...@@ -46,7 +46,7 @@ deploy:production:
name: deploy name: deploy
url: https://www.mittelab.org url: https://www.mittelab.org
script: script:
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" production - pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" production
when: manual when: manual
dependencies: dependencies:
- build:lektor - build:lektor
......
...@@ -21,13 +21,13 @@ locale = si_SI ...@@ -21,13 +21,13 @@ locale = si_SI
name = Production name = Production
enabled = yes enabled = yes
default = no default = no
target = rsync://srv01.delex-ws.net:11119/home/mittelab/www/ target = rsync://mittelab@srv01.delex-ws.net:11119/home/mittelab/www/
[servers.testing] [servers.testing]
name = Testing name = Testing
enabled = yes enabled = yes
default = yes default = yes
target = rsync://srv01.delex-ws.net:11119/home/mittelab/subdomains/test/ target = rsync://mittelab@srv01.delex-ws.net:11119/home/mittelab/subdomains/test/
[packages] [packages]
lektor-webpack-support = 0.3 lektor-webpack-support = 0.3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment