Falschen environment-Abschnitt korrigiert
This commit is contained in:
parent
bc8414ccb6
commit
4e108a3a18
1 changed files with 3 additions and 8 deletions
11
.drone.yml
11
.drone.yml
|
@ -8,24 +8,20 @@ branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Version check
|
- name: Version check
|
||||||
image: klakegg/hugo:ext-alpine-ci
|
image: klakegg/hugo:ext-alpine-ci
|
||||||
commands:
|
commands:
|
||||||
- echo "Checking Hugo version."
|
- echo "Checking Hugo version."
|
||||||
- hugo version
|
- hugo version
|
||||||
- hugo mod graph
|
- hugo mod graph
|
||||||
|
|
||||||
- name: Submodules
|
- name: Submodules
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
image: klakegg/hugo:ext-alpine-ci
|
image: klakegg/hugo:ext-alpine-ci
|
||||||
commands:
|
commands:
|
||||||
- hugo --destination /drone/src/build
|
- hugo --destination /drone/src/build
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
commands:
|
commands:
|
||||||
|
@ -35,7 +31,9 @@ steps:
|
||||||
- echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config
|
- echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config
|
||||||
# - rsync -rv -e "ssh -p 22222" /drone/src/build/ hadr@server4.unhb.de:/htdocs/ --checksum
|
# - rsync -rv -e "ssh -p 22222" /drone/src/build/ hadr@server4.unhb.de:/htdocs/ --checksum
|
||||||
- scp -P 22222 -r /drone/src/build/* hadr@server4.un-hack-bar.de:/htdocs/
|
- scp -P 22222 -r /drone/src/build/* hadr@server4.un-hack-bar.de:/htdocs/
|
||||||
|
environment:
|
||||||
|
SSH_KEY:
|
||||||
|
from_secret: drone_ssh_key
|
||||||
- name: notify
|
- name: notify
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
settings:
|
settings:
|
||||||
|
@ -53,9 +51,6 @@ steps:
|
||||||
{{/success}}
|
{{/success}}
|
||||||
:stopwatch: {{ since build.started }}
|
:stopwatch: {{ since build.started }}
|
||||||
:gear: {{build.link}}
|
:gear: {{build.link}}
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
SSH_KEY:
|
|
||||||
from_secret: drone_ssh_key
|
|
||||||
MATRIX_PASSWD:
|
MATRIX_PASSWD:
|
||||||
from_secred: matrix_password
|
from_secred: matrix_password
|
Loading…
Reference in a new issue