Moving to a locally built image for faster deployment
This commit is contained in:
parent
e944046b00
commit
a4b46080f9
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,7 @@ name: Deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: python:latest
|
image: nikola:0.0.1
|
||||||
volumes:
|
volumes:
|
||||||
- name: blog-path
|
- name: blog-path
|
||||||
path: /drone/src/output/
|
path: /drone/src/output/
|
||||||
|
@ -15,7 +15,6 @@ steps:
|
||||||
GID:
|
GID:
|
||||||
from_secret: gid
|
from_secret: gid
|
||||||
commands:
|
commands:
|
||||||
- pip install 'Nikola[extras]'
|
|
||||||
- nikola build
|
- nikola build
|
||||||
- chown -R "$UID":"$GID" output/*
|
- chown -R "$UID":"$GID" output/*
|
||||||
|
|
||||||
|
|
Reference in a new issue