pipelines:
  default:
    - step:
        name: Sync GitHub Mirror
        image: alpine/git:latest
        clone:
          depth: full
        script:
          - if [[  $(git log -1 --pretty=%ar |grep -Eo '^[0-9]+\s') -gt 59 ]]; then git push --mirror git@github.com:maadonline/mem-backup.git; fi