Commit 0ce04560 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

CodiMD backup: CI git repo not actually writeable

parent 34563e56
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
#! /bin/bash

whoami
ls -lah ~

git clone https://github.com/codimd/cli.git codimd-cli

CODIMD=$(pwd)/codimd-cli/bin/codimd

git clone . codimd-backup-subrepo
cd codimd-backup-subrepo

export CODIMD_SERVER='https://codimd.tiker.net'
$CODIMD login --email inform+codibackup@tiker.net "$CODIMD_PASSWORD"
while read -r DOCID FILEPATH; do