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 name: default
steps: steps:
- name: build
image: plugins/hugo
settings:
extended: yes
validate: yes
- name: deploy - name: deploy
image: appleboy/drone-scp image: alpine:3.12
settings: volumes:
host: dragon.luj0ga.de - name: site
username: www path: /var/www/html
key: commands:
from_secret: ssh_key - apk add --no-cache hugo
passphrase: - hugo
from_secret: ssh_passphrase - cp -r public/* /var/www/html
target: /srv/www/sites/www.franconian.net/
source: public/*
rm: yes
when: when:
event: event:
- push - push
branch: branch:
- main - main
volumes:
- name: site
host:
path: /srv/www/sites/www.franconian.net

View File

@ -7,7 +7,7 @@
{{ .Site.Title }} {{ .Site.Title }}
{{ end }}</title> {{ end }}</title>
<link rel="icon" href="data:;base64,iVBORw0KGgo="> <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 }}"> <link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head> </head>
<body> <body>