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 - name: nix build
image: nixos/nix image: nixos/nix
volumes: volumes:
- name: result - name: site
path: ./result/ path: /site_data/
commands: commands:
- > - >
nix \ nix \
--extra-experimental-features nix-command \ --extra-experimental-features nix-command \
--extra-experimental-features flakes \ --extra-experimental-features flakes \
build build
- cp -r result /site_data/site
- name: netlify deploy - name: netlify deploy
image: lucap/drone-netlify image: lucap/drone-netlify
volumes: volumes:
- name: result - name: site
path: ./result/ path: /site_data/
settings: settings:
token: token:
from_secret: netlify_token from_secret: netlify_token
site_id: site_id:
from_secret: netlify_site_id from_secret: netlify_site_id
path: ./result/ path: /site_data/site