Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

So that we can we regularly poll for availability #31

Open
alterisian opened this issue Mar 28, 2023 · 4 comments
Open

So that we can we regularly poll for availability #31

alterisian opened this issue Mar 28, 2023 · 4 comments

Comments

@alterisian
Copy link
Owner

alterisian commented Mar 28, 2023

As a mob team.
I want to: ask via twitter (perhaps DM) for all mobbers upcoming availability.

  • we can get a list of all mobbers. issue All Mobbers #34
  • we can send them the availability form
  • this can be automated to send out on Sunday afternoon via GitHub actions
@alterisian
Copy link
Owner Author

Lets say Sunday 15:00 CEST is when the tweet goes out. I think this would be intime for Monday morning in Australia/Japan.

The github action would need to run helloworld.rb(false, availability_tweet, TWITTER_API_KEY)
GitHub actions needs access to the Twitter API KEY - unsure if this needs to be passed in as a parameter, or can be accessed as an ENVironment variable?

@alterisian
Copy link
Owner Author

d742880 this commit adds in the yml to regularly call the tweet generation. Has a TODO to add a parameter onto helloworld.rb to control what is generated.

@alterisian
Copy link
Owner Author

Next, figure out how to test invoke it. Seems you can see the runs, but not manually invoke. Perhaps I get time to update the cron to 1530 this afternoon. Then we need to store the Twitter environment key, and write some code to tweet.

@alterisian
Copy link
Owner Author

The environment variable is ENV["TWITTER_API_KEY"] - I have left it with the value "This is empty right now" whilst we test extraction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant