Try to fix build cache sharing
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
4421b5e60f
commit
f8e545ee86
11
.drone.yml
11
.drone.yml
|
@ -6,23 +6,24 @@ steps:
|
|||
- name: nix build
|
||||
image: nixos/nix
|
||||
volumes:
|
||||
- name: result
|
||||
path: ./result/
|
||||
- name: site
|
||||
path: /site_data/
|
||||
commands:
|
||||
- >
|
||||
nix \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes \
|
||||
build
|
||||
- cp -r result /site_data/site
|
||||
|
||||
- name: netlify deploy
|
||||
image: lucap/drone-netlify
|
||||
volumes:
|
||||
- name: result
|
||||
path: ./result/
|
||||
- name: site
|
||||
path: /site_data/
|
||||
settings:
|
||||
token:
|
||||
from_secret: netlify_token
|
||||
site_id:
|
||||
from_secret: netlify_site_id
|
||||
path: ./result/
|
||||
path: /site_data/site
|
Loading…
Reference in New Issue