Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reload/backstore

Simple image for storing BackstopJS reports for linking to in Actions
https://github.com/reload/backstore

Last synced: about 5 hours ago
JSON representation

Simple image for storing BackstopJS reports for linking to in Actions

Awesome Lists containing this project

README

        

# Backstore

Simple container for storing BackstopJS reports, primarily for linking
to from Actions.

## Usage

Backstore is just a simple HTTP server with SSH and rsync. To store a
new report:

Run the service somewhere, mounting in `/srv`. After startup the
identity file needed to push reports is in `.ssh/id_rsa`, use GitHub
Actions secrets to supply this to actions.

### Submitting new report

Generate a sha using `echo $GITHUB_REPOSITORY:$GITHUB_SHA | sha1sum - | cut -d" " -f 1`

Then sync the report:

`rsync -e 'ssh -i -p 1984 -o StrictHostKeyChecking=no'
-r report/ store@:backstore//`

It will then be available at `http:////` (or https
equivalent, if you have a appropriate proxy).