This script checks every 10 minutes whether new appointments for COVID vaccination have been released. Whenever it occurs, a SMS is sent to the set phone number.
-
Fork the repository
-
Copy the
.env.exampleto a.envfile and fill in the right values -
yarn -
yarn startLocal
-
Fork the repository
-
Go to Settings > Environments > New environment
-
Create a
stagingenvironment. If you want to choose another name for your environment, you will have to change the jobs > build > environment value incron.yml -
Go to Settings > Environments > staging > Environment secrets
-
For every value in
env.example, add the corresponding secret variable in thestagingenvironment
The concept and the algorithm are directly inspired from the @AntoineAugusti Python script here