Skip to content

Bot Instance Stop

Bot Instance Stop #70

Workflow file for this run

name: Bot Instance Stop
on:
schedule:
- cron: 0 17 * * *
workflow_dispatch:
jobs:
todaywhat_bot_stop:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Configure `.env.aws`
run: |
touch .env.aws
echo "${{ secrets.AWS_ENV }}" >> .env.aws
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Python script
run: python ec2_stop.py