Send current weather updates from OpenWeatherMap API to your Slack profile status using GitHub Action
- Fork this repository.
- Set these environment variables in GitHub repository secrets.
Variable | Value |
---|---|
WEATHER_API | Get OpenWeatherMap API at https://home.openweathermap.org/users/sign_up . |
CITY | Find your city id at http://bulk.openweathermap.org/sample/ . |
TIMEZONE | Find your timezone city at https://www.iana.org/time-zones . |
SLACK_TOKEN | Your Slack User OAuth Token. |
- Change
cron
value inside.github/workflows/go-slack-weather.yml
. - If you need help to set the value, visit
https://crontab.guru
.