More and more tests
This commit is contained in:
parent
b4ba9e67fd
commit
76d1025499
1 changed files with 39 additions and 39 deletions
|
@ -9,42 +9,42 @@ pipeline:
|
|||
#- git submodule update --init --recursive --remote themes/ananke/
|
||||
build:
|
||||
image: plugins/hugo
|
||||
settings:
|
||||
hugo_version: 0.97.3
|
||||
validate: false
|
||||
extended: true
|
||||
output: public/
|
||||
cleanup:
|
||||
image: alpine
|
||||
environment:
|
||||
- NGINX_UID=476
|
||||
- NGINX_GID=476
|
||||
commands:
|
||||
- chown -R $NGINX_UID:$NGINX_ID /site/
|
||||
- rm -f /site/.gitadd /site/.gitignore
|
||||
volumes:
|
||||
- /srv/www/htdocs/dennogumi.org:/site
|
||||
deploy:
|
||||
image: einar/drone-rsync
|
||||
pull: never
|
||||
settings:
|
||||
source: public/
|
||||
target: /site/
|
||||
recursive: true
|
||||
exclude: [".gitignore", ".gitadd"]
|
||||
volumes:
|
||||
- /srv/www/htdocs/dennogumi.org:/site
|
||||
notify:
|
||||
image: plugins/matrix
|
||||
settings:
|
||||
homeserver: https://conference.heavensinferno.net
|
||||
roomid:
|
||||
from_secret: roomid
|
||||
accesstoken:
|
||||
from_secret: access_token
|
||||
userid:
|
||||
from_secret: user_id
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
- success
|
||||
settings:
|
||||
hugo_version: 0.97.3
|
||||
validate: false
|
||||
extended: true
|
||||
output: public/
|
||||
#cleanup:
|
||||
#image: alpine
|
||||
#environment:
|
||||
#- NGINX_UID=476
|
||||
#- NGINX_GID=476
|
||||
#commands:
|
||||
#- chown -R $NGINX_UID:$NGINX_ID /site/
|
||||
#- rm -f /site/.gitadd /site/.gitignore
|
||||
#volumes:
|
||||
#- /srv/www/htdocs/dennogumi.org:/site
|
||||
#deploy:
|
||||
#image: einar/drone-rsync
|
||||
#pull: never
|
||||
#settings:
|
||||
#source: public/
|
||||
#target: /site/
|
||||
#recursive: true
|
||||
#exclude: [".gitignore", ".gitadd"]
|
||||
#volumes:
|
||||
#- /srv/www/htdocs/dennogumi.org:/site
|
||||
#notify:
|
||||
#image: plugins/matrix
|
||||
#settings:
|
||||
#homeserver: https://conference.heavensinferno.net
|
||||
#roomid:
|
||||
#from_secret: roomid
|
||||
#accesstoken:
|
||||
#from_secret: access_token
|
||||
#userid:
|
||||
#from_secret: user_id
|
||||
#when:
|
||||
#status:
|
||||
#- failure
|
||||
#- success
|
||||
|
|
Loading…
Add table
Reference in a new issue