---
version: '3'

tasks:
  key:generate:
    cmds:
      - ssh-keygen -t ecdsa -b 521 -C "$GITLAB_EMAIL" -f ~/.ssh/id_ecdsa_gitomatic -P ""

  sync:
    deps:
      - :install:go:gitomatic
    cmds:
      - gitomatic -privkey ~/.ssh/id_ecdsa_gitomatic -interval 14m -pull=true -push=true -author "gitomatic sync" -email "gitomatic@megabyte.space" ./
