Stock-Tool/.github/workflows/cache_refresh.yml

21 lines
724 B
YAML

# Cache refresh is now handled by VPS cron jobs on the Hetzner server.
# See /etc/cron.d/cache_builder on the VPS:
# Stable: 2am daily → /srv/stock-tool/cache_builder.py → analyst_cache, fundamentals_cache, sector_stats
# Beta: 3am daily → /srv/stock-tool-beta/cache_builder.py → beta_analyst_cache, beta_fundamentals_cache, beta_sector_stats
#
# This workflow is intentionally disabled (no triggers).
name: Refresh Cache (disabled — handled by VPS cron)
on:
workflow_dispatch: # manual trigger only, for emergency use
jobs:
refresh:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Not used
run: echo "Cache refresh runs on VPS. See /etc/cron.d/cache_builder."