Moving to a locally built image for faster deployment

This commit is contained in:
Elia el Lazkani 2020-02-17 22:05:36 +01:00 committed by Elia El Lazkani
parent e944046b00
commit a4b46080f9
No known key found for this signature in database
GPG key ID: FBD81F2B1F488C2B

View file

@ -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/*