Simon Bruder
46f08e1817
All checks were successful
continuous-integration/drone/push Build is passing
This also changes how reveal.js is vendored and as a consequence of this change, it needs to dereference the build result before deploying it with netlify. This is because flakes do not like submodules and netlify does not like symlinks.
23 lines
489 B
YAML
23 lines
489 B
YAML
kind: pipeline
|
|
name: default
|
|
type: exec
|
|
|
|
steps:
|
|
- name: lfs
|
|
commands:
|
|
- git lfs install
|
|
- git lfs pull
|
|
|
|
- name: build
|
|
commands:
|
|
- nix build -L
|
|
|
|
- name: push
|
|
environment:
|
|
NETLIFY_AUTH_TOKEN:
|
|
from_secret: netlify_auth_token
|
|
commands:
|
|
- cp --no-preserve=mode -rL result netlify-does-not-follow-symlinks
|
|
- nix develop -c netlify deploy --prod -d netlify-does-not-follow-symlinks
|
|
- rm -rf netlify-does-not-follow-symlinks
|