Skip to content

Run Tweet Script

Run Tweet Script #4176

Workflow file for this run

name: Run Tweet Script
on:
schedule:
- cron: '0 */1 * * *'
workflow_dispatch: # Allows manual triggering from GitHub web interface
jobs:
run-script:
runs-on: ubuntu-latest # Specifies the runner environment
steps:
- name: Checkout repository
uses: actions/checkout@v2 # Checks out your repository under $GITHUB_WORKSPACE
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11' # Set the Python version
- name: Install dependencies
run: pip install -r requirements.txt # Installs required Python packages
- name: Run script
env:
OAUTH_CONSUMER_KEY: ${{ secrets.OAUTH_CONSUMER_KEY }}
OAUTH_CONSUMER_SECRET: ${{ secrets.OAUTH_CONSUMER_SECRET }}
OAUTH_ACCESS_TOKEN: ${{ secrets.OAUTH_ACCESS_TOKEN }}
OAUTH_ACCESS_TOKEN_SECRET: ${{ secrets.OAUTH_ACCESS_TOKEN_SECRET }}
# run: python tweet-natural-healing-thread.py
run: python rss_tweet_thread_002.py