Browse Source

Minor changes to the CI pipeline

master
Elia el Lazkani 1 week ago
parent
commit
c1470607cc
  1. 6
      .drone.yml

6
.drone.yml

@ -8,7 +8,7 @@ steps:
image: nikola:20210226
volumes:
- name: blog-path
path: /drone/src/output/
path: /blog/
environment:
UID:
from_secret: uid
@ -18,6 +18,10 @@ steps:
- nikola theme -i willy-theme
- nikola build
- chown -R "$UID":"$GID" output/*
- mv output/ "/blog/${DRONE_COMMIT}"
- cd /blog/
- rm -f blog.lazkani.io
- ln -s "${DRONE_COMMIT}" blog.lazkani.io
volumes:
- name: blog-path

Loading…
Cancel
Save