Compare commits

..

No commits in common. "f0ea50082dd3c181e7ce5178bded1e6263783599" and "1248934ffaaa40305b5fa909803fb0d39e741365" have entirely different histories.

2 changed files with 14 additions and 18 deletions

View File

@ -5,26 +5,22 @@ type: docker
name: default
steps:
- name: build
image: plugins/hugo
settings:
extended: yes
validate: yes
- name: deploy
image: appleboy/drone-scp
settings:
host: dragon.luj0ga.de
username: www
key:
from_secret: ssh_key
passphrase:
from_secret: ssh_passphrase
target: /srv/www/sites/www.franconian.net/
source: public/*
rm: yes
image: alpine:3.12
volumes:
- name: site
path: /var/www/html
commands:
- apk add --no-cache hugo
- hugo
- cp -r public/* /var/www/html
when:
event:
- push
branch:
- main
volumes:
- name: site
host:
path: /srv/www/sites/www.franconian.net

View File

@ -7,7 +7,7 @@
{{ .Site.Title }}
{{ end }}</title>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
{{ $style := resources.Get "style.scss" | resources.ToCSS | minify }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>