-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (39 loc) · 1.17 KB
/
analyses.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
41
name: Report website
on:
push:
branches:
- 'master'
schedule:
# Runs every day at 4am
- cron: '0 4 * * *'
jobs:
build:
# Job name is Greeting
name: Generate Reports
# This job runs on Linux
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build report
run: |
make analyses/ncf_report/report.html
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
REGION_NAME: ${{ secrets.REGION_NAME }}
S3_STAGING_DIR: ${{ secrets.S3_STAGING_DIR }}
SCHEMA_NAME: ${{ secrets.SCHEMA_NAME }}
- name: Deploy to gh pages
uses: peaceiris/[email protected]
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
exclude_assets: '**/*.py,**/*.ipynb'
enable_jekyll: true
publish_dir: ./analyses