TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GitHub as Storage and Actions as Compute?

2 pointsby bigEnotation12 months ago
For a personal project I ended up using Github Actions to perform compute functions based on a cron schedule, and then commit the changes back to the repository: https:&#x2F;&#x2F;github.com&#x2F;edelauna&#x2F;stock-predictor&#x2F;blob&#x2F;prod&#x2F;.github&#x2F;workflows&#x2F;cron-history.yml<p>As a solo contributor it seems to work ok, I was curious about potential drawbacks, and considerations I may want to consider if I wanted to start adding contributors, or merging dependabot PRs while a cron action was running heh.

2 comments

solardev12 months ago
The dev ex kinda sucks since you&#x27;re basically creating a janky CI system with artifacts, with the same inability to locally dev and test, but with way less documentation and ecosystem support (other users). For some simple script for internal use it&#x27;s probably fine, but it&#x27;s hard to build up from. The Actions ecosystem is so poorly documented and filled with a bunch of abandoned actions as libraries that don&#x27;t work anymore. It&#x27;s not fun to work in.<p>I have a similar but minimal use case where some data is scraped and then committed into a repo via actions. I tried to modularize it so that&#x27;s all that repo does. Another repo then fetches from that repo to actually console the data.<p>If I needed to build something like this for actual production use, I&#x27;d probably use a serverless worker (Vercel or Cloudflare) and store it in a cloud KV instead.
bigEnotation12 months ago
Link to example workflow: <a href="https:&#x2F;&#x2F;github.com&#x2F;edelauna&#x2F;stock-predictor&#x2F;blob&#x2F;prod&#x2F;.github&#x2F;workflows&#x2F;cron-history.yml">https:&#x2F;&#x2F;github.com&#x2F;edelauna&#x2F;stock-predictor&#x2F;blob&#x2F;prod&#x2F;.githu...</a>