Skip to content

katydecorah/weather-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌞 weather-status

Screenshot of Slack workspace where a user's status displays the current weather forecast.

Make your Slack status the weather forecast.

Set up the workflow

To use this action, create a new workflow in .github/workflows and modify it as needed:

name: Weather status

on:
  schedule:
    - cron: "*/60 * * * *" # Every hour

jobs:
  weather_update:
    runs-on: macOS-latest
    name: Weather
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Weather
        uses: katydecorah/[email protected]
        with:
          Latitude: ${{ secrets.Latitude }}
          Longitude: ${{ secrets.Longitude }}
          DarkSkySecretKey: ${{ secrets.DarkSkySecretKey }}
          SlackAccessToken: ${{ secrets.SlackAccessToken }}

Action options