Skip to content

Schedule Instagram posts #407

Schedule Instagram posts

Schedule Instagram posts #407

Workflow file for this run

name: Schedule Instagram posts
on:
schedule:
- cron: '0 13,1 * * *' # UTC == EST+5 == EDT+4
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Currently using Python 3.11.2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run script
run: python main.py
env:
USERNAME: ${{secrets.USERNAME}}
PASSWORD: ${{secrets.PASSWORD}}