Skip to content

twitter auto update banner and name #31

twitter auto update banner and name

twitter auto update banner and name #31

Workflow file for this run

name: twitter auto update banner and name
on:
push:
branches:
- master1
schedule:
- cron: '0 17 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: install tweepy
run: |
python -m pip install --upgrade pip
pip install tweepy
- name: execute py script # run app.py
env:
TWITTER_API_KEY: '${{ secrets.TWITTER_API_KEY }}'
TWITTER_API_SECRET: '${{ secrets.TWITTER_API_SECRET }}'
TWITTER_ACCESS_TOKEN: '${{ secrets.TWITTER_ACCESS_TOKEN }}'
TWITTER_ACCESS_TOKEN_SECRET: '${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}'
run: python app.py