Experimental script to automatically deploy test instance for each proposed PR.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

5 rivejä
170 B

#!/bin/bash
id=$(basename "$REQUEST_URI")
[[ ! $id =~ ^[0-9]+$ ]] && echo bad query && exit 1
[[ ! -f logs/$id ]] && echo no logs available && exit 1
tail -fn+1 logs/$id