Skip to content

Every 3 Days Mining (domains) #43

Every 3 Days Mining (domains)

Every 3 Days Mining (domains) #43

Workflow file for this run

name: Every 3 Days Mining (domains)
on:
schedule:
- cron: "0 0 */3 * *"
workflow_dispatch:
permissions:
contents: write
jobs:
mine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: oven-sh/setup-bun@v2
- name: Setup git
run: |
git config --global url.https://hyros-dataminer[bot]:${{ secrets.GITHUB_TOKEN }}@github.com/.insteadOf https://github.com/
git config --global user.name "hyros-dataminer[bot]"
git config --global user.email "154810797+hyros-dataminer[bot]@users.noreply.github.com"
git config pull.rebase true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: bun install
- name: Run
run: bun run start
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_WEBHOOK_MISCELLANEOUS: ${{ secrets.DISCORD_WEBHOOK_MISCELLANEOUS }}
DISCORD_WEBHOOK_BUILDS: ${{ secrets.DISCORD_WEBHOOK_BUILDS }}
DISCORD_WEBHOOK_ROUTES: ${{ secrets.DISCORD_WEBHOOK_ROUTES }}
DISCORD_WEBHOOK_STRINGS: ${{ secrets.DISCORD_WEBHOOK_STRINGS }}
DISCORD_WEBHOOK_STYLESHEETS: ${{ secrets.DISCORD_WEBHOOK_STYLESHEET }} # todo: change to STYLESHEETS
DISCORD_WEBHOOK_EXPERIMENTS: ${{ secrets.DISCORD_WEBHOOK_EXPERIMENTS }}
DISCORD_WEBHOOK_POSTS: ${{ secrets.DISCORD_WEBHOOK_POSTS }}
SECURITYTRAILS_API_KEY: ${{ secrets.SECURITYTRAILS_API_KEY }}
SCRAPE_DOMAINS: true