This repository has been archived on 2022-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
presis/.drone.yml

24 lines
526 B
YAML

kind: pipeline
name: default
type: exec
steps:
- name: submodules
commands:
- git submodule init
- git submodule update --recursive --remote
- name: build
commands:
- nix-build
- name: push
environment:
NETLIFY_AUTH_TOKEN:
from_secret: netlify_auth_token
commands:
- nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/24c9b05ac53e422f1af81a156f1fd58499eb27fb.tar.gz -p netlify-cli --run "netlify deploy --prod -d $(readlink -f result)"
node:
nix: 1