Skip to content

StackExchange

StackExchange #61

Workflow file for this run

name: StackExchange
on:
schedule:
- cron: '0 0 * * 0' # every Sunday at midnight
workflow_dispatch:
jobs:
fetch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Fetch data
run: |
mkdir /tmp/stackexchange
python bitcoin.stackexchange.com/main.py
env:
ES_ENGINE: ${{ secrets.ES_ENGINE }}
ES_URL: ${{ secrets.ES_URL }}
ES_TOKEN: ${{ secrets.ES_TOKEN }}
DATA_DIR: /tmp/stackexchange