Skip to content

GET UP

GET UP #380

Workflow file for this run

name: GET UP
on:
workflow_dispatch:
inputs:
message:
description: "weather message"
required: false
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
jobs:
sync:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: install python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip" # caching pip dependencies
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: GET UP
run: |
python get_up.py ${{ secrets.G_T }} ${{ github.repository }} "${{ secrets.BING_COOKIE }}" --weather_message ": ${{ github.event.inputs.message }}" --tele_token ${{ secrets.TG_TOKEN }} --tele_chat_id ${{ secrets.TG_CHAT_ID }}