Skip to content

checkin-workflow

checkin-workflow #1083

Workflow file for this run

name: checkin-workflow
on:
schedule:
- cron: '40 0,8,16 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
checkin-job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Release api key to environment
env:
APIKEY: ${{ secrets.RAINYUN_APIKEY }}
run: |
echo "$APIKEY" > arguments.txt
- name: Run main script
run: |
python main.py