mat.services/.drone.yml

28 lines
556 B
YAML
Raw Normal View History

2022-10-19 23:12:52 +00:00
kind: pipeline
type: docker
name: default
steps:
- name: nix build
image: nixos/nix
volumes:
- name: result
path: ./result/
commands:
2022-10-19 23:18:08 +00:00
- >
2022-10-19 23:22:34 +00:00
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
2022-10-19 23:18:08 +00:00
build
2022-10-19 23:12:52 +00:00
- name: netlify deploy
2022-10-19 23:46:08 +00:00
image: lucap/drone-netlify
2022-10-19 23:12:52 +00:00
volumes:
- name: result
path: ./result/
settings:
token:
from_secret: netlify_token
site_id:
from_secret: netlify_site_id
path: ./result/