Skip to content

twitter auto update banner and name #160

twitter auto update banner and name

twitter auto update banner and name #160

Workflow file for this run

name: twitter auto update banner and name
on:
push:
branches:
# - master
- main
schedule:
- cron: "0 17 * * *"
jobs:
execute:
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 python-dotenv
- name: execute py script # run app.py
env:
NODEMAVEN_PROXY: "${{ secrets.NODEMAVEN_PROXY }}"
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