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
|
||||
- hugo
|
||||
- name: hugo_publish
|
||||
image: alpine:3.12.3
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
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
|
||||
#image: alpine:3.12.3
|
||||
image: appleboy/drone-git-push
|
||||
settings:
|
||||
remote_name: origin
|
||||
branch: master
|
||||
local_ref: master
|
||||
path: brainsteam/public
|
||||
commit: true
|
||||
commit_message: update build from hugo
|
||||
author_name: DroneCI
|
||||
# when:
|
||||
# branch:
|
||||
# - main
|
||||
# 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
|
||||
# Generated files by hugo
|
||||
/public/
|
||||
/brainsteam/public
|
||||
#/brainsteam/public
|
||||
/brainstorm/resources/_gen/
|
||||
|
||||
# Executable may be added to repository
|
||||
|
|
Loading…
Reference in New Issue