Skip to content

Update

Update #720

Workflow file for this run

name: Update
on:
schedule:
- cron: '0 0 * * *'
push:
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: fregante/setup-git-user@v1
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Update Requirements.txt
run: |
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r rsserpent.txt
pip install uvicorn
pip freeze > requirements.txt
- name: Push Updates
run: |
git add .
git diff-index --quiet HEAD || git commit -m "update requirements.txt (${{ github.sha }})"
git push