Skip to content

job_2

job_2 #4619

Workflow file for this run

name: job_2
on:
workflow_dispatch:
schedule:
- cron: '0 */4 * * *' # At minute 0 past every 4th hour.”
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner
- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.7' # install the python version needed
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute py scripts
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }}
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}
PRAW_CLIENT_ID: ${{ secrets.PRAW_CLIENT_ID }}
PRAW_CLIENT_SECRET: ${{ secrets.PRAW_CLIENT_SECRET }}
PRAW_USER_AGENT: ${{ secrets.PRAW_USER_AGENT }}
PRAW_USERNAME: ${{ secrets.PRAW_USERNAME }}
PRAW_PASSWORD: ${{ secrets.PRAW_PASSWORD }}
run: |
python jobs/mormon-reddit-comments.py