Skip to content

Add scanR reuse recommendation on relevant datasets (#28) #63

Add scanR reuse recommendation on relevant datasets (#28)

Add scanR reuse recommendation on relevant datasets (#28) #63

Workflow file for this run

name: Lint data and deploy
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Cache pip
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: pip install -r requirements.txt
- name: Lint and generate JSON
run: |
mkdir build
python main.py > build/recommendations.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build
user_name: 'actions-user'
user_email: 'actions@github.com'
force_orphan: true