Generate mosaic #758
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: [email protected] | |
| commit_author: Author <[email protected]> | |
| commit_message: "π¨ Generating the mosaic like true Picasso π©βπ¨" | |
| file_pattern: "tmp/* data/* *.md" |