earne.link landing page + docs https://earne.link
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
474 B

---
kind: pipeline
type: docker
name: default
trigger:
branch:
- main
event:
exclude:
- pull_request
steps:
- name: build
image: nixos/nix
commands:
- nix-env -iA --quiet nixpkgs.gitFull
- nix-shell --run make
- name: deploy
image: drillster/drone-rsync
settings:
hosts: ["earne.link"]
user: root
recursive: true
delete: true
target: /var/www/earne.link
source: public/
key:
from_secret: deploy_ssh_key