Tools: How I Run 24/7 Automations for FREE Using GitHub Actions (No Servers Needed)

Tools: How I Run 24/7 Automations for FREE Using GitHub Actions (No Servers Needed)

Source: Dev.to

The Setup (5 Minutes) ## What I Automate ## The Limits (And How to Work Around Them) ## Notifications with ntfy.sh ## Full Template Pack I got tired of paying for servers just to run simple scheduled scripts. Cron jobs on a VPS? $5-20/month. AWS Lambda? Complexity overhead and surprise bills. Then I realized: GitHub Actions gives you 2,000 free minutes/month on the free tier. That's enough to run a script every 2 hours, 24/7, for $0. Create .github/workflows/automation.yml: I use ntfy.sh for free push notifications: Now I get mobile alerts whenever my automations detect something important. I packaged my production-tested workflows into a template pack: The free version is enough to get started. Grab it, modify it, ship it. Questions? Drop them in the comments. I've been running this setup for months and happy to help troubleshoot. Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse COMMAND_BLOCK: name: 24/7 Automation on: schedule: - cron: '0 */2 * * *' # Every 2 hours workflow_dispatch: # Manual trigger jobs: run: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - run: pip install requests - run: python your_script.py env: API_KEY: ${{ secrets.API_KEY }} Enter fullscreen mode Exit fullscreen mode COMMAND_BLOCK: name: 24/7 Automation on: schedule: - cron: '0 */2 * * *' # Every 2 hours workflow_dispatch: # Manual trigger jobs: run: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - run: pip install requests - run: python your_script.py env: API_KEY: ${{ secrets.API_KEY }} COMMAND_BLOCK: name: 24/7 Automation on: schedule: - cron: '0 */2 * * *' # Every 2 hours workflow_dispatch: # Manual trigger jobs: run: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - run: pip install requests - run: python your_script.py env: API_KEY: ${{ secrets.API_KEY }} CODE_BLOCK: import requests def alert(message): requests.post( "https://ntfy.sh/your-topic", data=message, headers={"Priority": "high"} ) Enter fullscreen mode Exit fullscreen mode CODE_BLOCK: import requests def alert(message): requests.post( "https://ntfy.sh/your-topic", data=message, headers={"Priority": "high"} ) CODE_BLOCK: import requests def alert(message): requests.post( "https://ntfy.sh/your-topic", data=message, headers={"Priority": "high"} ) - Price monitoring - Track competitor prices, get alerts - Content aggregation - Pull data from APIs, compile reports - Health checks - Ping my services, alert on failures - Data backups - Export from one service, push to another - FREE starter (1 workflow + guide): gumroad.com/l/zheyl - Full pack ($79 - 3 workflows + Python scripts): gumroad.com/l/nvwulz