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
|
- 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
|
Loading…
Reference in New Issue