-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 869 Bytes
/
Copy pathmanual-build.yml
File metadata and controls
31 lines (29 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Generate mosaic
on:
schedule:
- cron: "0 4 * * *"
workflow_dispatch:
jobs:
schedule_build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Setup Python"
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: "Install packages"
run: pip install -r requirements.txt
- name: "Build image"
run: python main.py
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
push_options: --force
commit_user_name: Ludmila
commit_user_email: milaabl2405@gmail.com
commit_author: Author <milaabl2405@gmail.com>
commit_message: "🎨 Generating the mosaic like true Picasso 👩🎨"
file_pattern: "tmp/* data/* *.md"