fixy?
This commit is contained in:
parent
bbafd3eea9
commit
ed95405839
|
@ -1,15 +1,15 @@
|
|||
kind: pipeline
|
||||
name: update_website
|
||||
|
||||
steps:
|
||||
- name: hugo_build
|
||||
pipeline:
|
||||
hugo_build:
|
||||
image: alombarte/hugo
|
||||
commands:
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
- cd brainsteam
|
||||
- hugo
|
||||
- name: hugo_publish
|
||||
hugo_publish:
|
||||
image: alpine:3.12.3
|
||||
environment:
|
||||
FTP_USERNAME:
|
||||
|
@ -18,9 +18,6 @@ steps:
|
|||
from_secret: FTP_PASSWORD
|
||||
FTP_HOSTNAME: sv7.byethost7.org
|
||||
commands:
|
||||
- export FTP_USERNAME=$FTP_USERNAME
|
||||
- export FTP_PASSWORD=$FTP_PASSWORD
|
||||
- export FTP_HOSTNAME=$FTP_HOSTNAME
|
||||
- apk add lftp
|
||||
- cd brainsteam
|
||||
- lftp -e "mirror -R ./public /" -u ${FTP_USERNAME},${FTP_PASSWORD} ${FTP_HOSTNAME}
|
Loading…
Reference in New Issue