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