dependabot-preview[bot] ddf9c7ea43 Bump sled from 0.34.5 to 0.34.6 (#49)
Bumps [sled](https://github.com/spacejam/sled) from 0.34.5 to 0.34.6.
- [Release notes](https://github.com/spacejam/sled/releases)
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spacejam/sled/compare/v0.34.5...v0.34.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-13 08:26:48 -05:00
2020-06-21 02:36:29 -04:00
2020-10-27 23:55:29 -04:00
2020-10-26 00:35:19 -04:00
2020-10-26 00:35:19 -04:00
2020-10-26 00:35:19 -04:00
2020-10-26 00:35:19 -04:00
2020-06-21 02:20:36 -04:00
2020-10-26 00:35:19 -04:00

rfd-notify

Dependabot Docker

This tool looks for regular expressions from RedFlagDeals.com forums and will send emails based on matches.

Prerequisites

Usage

USAGE:
    rfd-notify [OPTIONS] --config <config>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --config <config>    Specify path to config
    -d, --dbpath <dbpath>    Specify path to where the embedded database is stored [default: ./deals_db]

Github action

An action can be setup to scan for deals, send a notification and store previously found deals in the repo.

Example

This action can be run on a cron and can store the embedded database by commiting the files to git.

It also requires the corresponding encrypted secrets setup.

# .github/workflows/main.yml

on:
 schedule:
  - cron: '*/5 * * * *'
jobs:
  rfd_notify:
    runs-on: ubuntu-latest
    name: rfd-notify
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
      - name: Run rfd-notify
        uses: davegallant/rfd-notify@v0.2.0
        env:
          SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
          SENDGRID_MAIL_FROM: notify@rfd-notify.org
          SENDGRID_MAIL_TO: ${{ secrets.SENDGRID_MAIL_TO }}
      - name: Commit files
        run: |
          git config --local user.email "action@github.com"
          git config --local user.name "GitHub Action"
          git add deals_db/
          git commit -m "Add changes" -a || true
      - name: Push changes
        uses: ad-m/github-push-action@master
        with:
          github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
          branch: ${{ github.ref }}
Description
get notified of deals based on regex
Readme GPL-3.0 4.5 MiB
Languages
Python 92.5%
Dockerfile 6.1%
Shell 1.4%