Skip to content

Go Weather Bot

Go Weather Bot #46

Workflow file for this run

name: Go Weather Bot
on:
schedule:
- cron: '30 13 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Make envfile
uses: SpicyPizza/[email protected]
with:
envkey_KEY_WEATHER: ${{ secrets.KEY_WEATHER }}
envkey_TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
envkey_TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
file_name: .env
fail_on_empty: false
sort_keys: false
- name: execute my script
run: go run weatherBot.go -cityName=MexicoCity -request=WF