update ci stuff
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d6e250a09b
commit
20aa1b5a62
37
.drone.yml
37
.drone.yml
|
@ -13,17 +13,26 @@ steps:
|
||||||
- cd brainsteam
|
- cd brainsteam
|
||||||
- hugo
|
- hugo
|
||||||
- name: hugo_publish
|
- name: hugo_publish
|
||||||
image: alpine:3.12.3
|
#image: alpine:3.12.3
|
||||||
when:
|
image: appleboy/drone-git-push
|
||||||
branch:
|
settings:
|
||||||
- main
|
remote_name: origin
|
||||||
environment:
|
branch: master
|
||||||
FTP_USERNAME:
|
local_ref: master
|
||||||
from_secret: FTP_USERNAME
|
path: brainsteam/public
|
||||||
FTP_PASSWORD:
|
commit: true
|
||||||
from_secret: FTP_PASSWORD
|
commit_message: update build from hugo
|
||||||
FTP_HOSTNAME: sv7.byethost7.org
|
author_name: DroneCI
|
||||||
commands:
|
# when:
|
||||||
- apk add lftp
|
# branch:
|
||||||
- cd brainsteam
|
# - main
|
||||||
- lftp -e "mirror -R ./public /" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOSTNAME
|
# environment:
|
||||||
|
# FTP_USERNAME:
|
||||||
|
# from_secret: FTP_USERNAME
|
||||||
|
# FTP_PASSWORD:
|
||||||
|
# from_secret: FTP_PASSWORD
|
||||||
|
# FTP_HOSTNAME: sv7.byethost7.org
|
||||||
|
# commands:
|
||||||
|
# - apk add lftp
|
||||||
|
# - cd brainsteam
|
||||||
|
# - lftp -e "mirror -R ./public /" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOSTNAME
|
|
@ -1,7 +1,7 @@
|
||||||
# ---> Hugo
|
# ---> Hugo
|
||||||
# Generated files by hugo
|
# Generated files by hugo
|
||||||
/public/
|
/public/
|
||||||
/brainsteam/public
|
#/brainsteam/public
|
||||||
/brainstorm/resources/_gen/
|
/brainstorm/resources/_gen/
|
||||||
|
|
||||||
# Executable may be added to repository
|
# Executable may be added to repository
|
||||||
|
|
Loading…
Reference in New Issue