Skip to content

News Pages

News Pages #108

Workflow file for this run

name: News Pages
on:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * 1'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
cd .github/news
python -m pip install --upgrade pip
pip install -r requirements.txt
python news.py
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}