Skip to content

Commit 87f6597

Browse files
authored
Merge pull request #42 from PathwayCommons/iss41_data-availability
Make fresh data available
2 parents ee71448 + a205dfd commit 87f6597

26 files changed

Lines changed: 1950 additions & 425883 deletions

.github/workflows/cron.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,13 @@ on:
44
# POSIX syntax: Minute [0,59] Hour [0,23] Day [1,31] Month [1,12] Day of week [0 (Sunday),6]
55
- cron: '0 1 * * *'
66

7-
permissions:
8-
contents: read
9-
107
jobs:
11-
data:
8+
deployment:
129
runs-on: ubuntu-latest
13-
container: node:16
14-
environment: cron
1510

1611
steps:
17-
- name: Check out repository code
18-
uses: actions/checkout@v3
19-
20-
- name: Install dependencies
21-
run: npm install
22-
23-
- name: Run data script
24-
run: npm run data
12+
- name: Deploy Stage
13+
uses: fjogeleit/http-request-action@v1
14+
with:
15+
url: ${{ secrets.CF_CRON_URL }}
16+
method: 'POST'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,5 @@ src/dashboard/build/*
107107
.DS_Store
108108

109109
dist
110+
111+
example-data

example-data/2021-p53-res.json

Lines changed: 0 additions & 1523 deletions
This file was deleted.

example-data/2021.json

Lines changed: 0 additions & 347214 deletions
This file was deleted.

example-data/2022-01.json

Lines changed: 0 additions & 25720 deletions
This file was deleted.

example-data/2022-04.json

Lines changed: 0 additions & 20061 deletions
This file was deleted.

example-data/2022-05.json

Lines changed: 0 additions & 17958 deletions
This file was deleted.

example-data/2022-06-enzyme-search-res.json

Lines changed: 0 additions & 277 deletions
This file was deleted.

example-data/2022-06.json

Lines changed: 0 additions & 6985 deletions
This file was deleted.

example-data/alzheimers-diagnosis.json

Lines changed: 0 additions & 218 deletions
This file was deleted.

0 commit comments

Comments
 (0)