-
Notifications
You must be signed in to change notification settings - Fork 324
40 lines (38 loc) · 1.24 KB
/
deprecated_update_truth_weekly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: (Deprecated) Update JHU, NY Times, USAFacts truth data weekly
on:
workflow_dispatch:
inputs:
name:
description: '(Deprecated) Update truth weekly'
jobs:
upload_zoltar:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.2]
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@v4
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v1
# with:
# node-version: ${{ matrix.node-version }}
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
# - run: npm install
- run: pip3 install -r visualization/requirements.txt
- run: bash travis/update_truth_weekly.sh
env:
Z_USERNAME: ${{ secrets.Z_USERNAME}}
Z_PASSWORD: ${{ secrets.Z_PASSWORD}}
GH_TOKEN: ${{secrets.GH_TOKEN}}