Skip to content

Roam Research backup #41580

Roam Research backup

Roam Research backup #41580

Workflow file for this run

name: "Roam Research backup"
on:
push:
branches:
- master
schedule:
- cron: "0 * * * *"
jobs:
backup:
runs-on: "Ubuntu-20.04"
name: Backup
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Setup dependencies
run: |
pip install git+https://github.com/MatthieuBizien/roam-to-git.git@master
- name: Run backup
run: roam-to-git --skip-git . --formats json markdown formatted edn
env:
ROAMRESEARCH_USER: ${{ secrets.ROAMRESEARCH_USER }}
ROAMRESEARCH_PASSWORD: ${{ secrets.ROAMRESEARCH_PASSWORD }}
ROAMRESEARCH_DATABASE: ${{ secrets.ROAMRESEARCH_DATABASE }}
- name: Commit changes
uses: elstudio/actions-js-build/commit@v4
with:
commitMessage: Automated snapshot