Try to fix build cache sharing
continuous-integration/drone/push Build is failing Details

pull/1/head
mat ess 2022-10-19 19:53:28 -04:00
parent 4421b5e60f
commit f8e545ee86
1 changed files with 6 additions and 5 deletions

View File

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