Closed simonw closed 4 years ago
Oops, I'm still seeing the old projects because we download the previous databases at the start of the action.
I'll fix that by temporarily disabling the datasette-clone
operation. Even better: do that with a conditional:
- name: Download all .db files
if: !contains(github.event.head_commit.message, 'REFRESH_DBS')
env:
DATASETTE_TOKEN: ${{ secrets.DATASETTE_TOKEN }}
run: |-
datasette-clone https://biglocal.datasettes.com/ dbs -v --token=$DATASETTE_TOKEN
This is shipped: https://biglocal.datasettes.com/
The list of email addresses for projects to publish is handled by multiple --contact
options here:
For the moment I'm just going to fetch the projects where the contact email is
biglocalnews@stanford.edu
.