mirror of
https://github.com/RealOrangeOne/RealOrangeOne.git
synced 2024-12-22 13:55:59 +00:00
31 lines
704 B
YAML
31 lines
704 B
YAML
name: Execute
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 18 * * *'
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
- name: Run
|
|
run: ./build.py
|
|
- name: Commit changes
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: Update README
|
|
file_pattern: README.md
|
|
commit_user_name: GitHub Action
|
|
commit_user_email: actions@github.com
|
|
commit_author: GitHub Action <actions@github.com>
|