Skip to content

Sync Update Info

Sync Update Info #461

Workflow file for this run

name: Sync Update Info
on:
workflow_dispatch:
push:
paths:
- "Updater/**"
schedule:
- cron: "0 14 * * *"
jobs:
run_script:
runs-on: ubuntu-latest
steps:
- name: ⛓️ Check out code
uses: actions/checkout@v3
- name: 🔐 Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: 🔒 Install prerequisites
working-directory: Updater
run: pip install -r requirements.txt
- name: 🔓 Generate update info
working-directory: Updater
run: python update_sync.py
- name: 🚔 Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: Update
FOLDER: Updater
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}