Skip to content
Chris Young edited this page Jun 25, 2024 · 6 revisions

Welcome to the bestofbot wiki!

Adding a new bot:

In lemmy-directory

  • Modify scripts/directory_to_json.py
    • Add an output for the new file with the section names
  • Modify the github action update-comms.yml
    • Add cp ./_newcat_comms.json ../bestofbot

In Lemmy

  • Create a new bot account
    • Ensure it is marked as a bot
  • Verify email
    • Yawn while waiting for application to be accepted 🥱
    • (you can continue at this point, as long as it is accepted before the bot runs!)

In Google Cloud

  • Add a secret for the bot account
  • Switch to Permissions and add the compute service account (search for "compute") as "Secret Accessor"

In bestofbot

  • Switch to the community-update branch
  • Add a new line to deploy.sh, replacing the job name, title, bot account, and secret names

In Google Cloud

  • Go to Cloud Run Jobs
  • Add a trigger to run the job
Clone this wiki locally