Content-Length: 207999 | pFad | http://github.com/adafruit/Adafruit_CircuitPython_Bundle/actions/runs/15847470264/workflow

06 Automated update by Adabot (adafruit/adabot@d685668) · adafruit/Adafruit_CircuitPython_Bundle@8243e85 · GitHub
Skip to content

Generate folder images #1484

Generate folder images

Generate folder images #1484

Workflow file for this run

# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
#
# SPDX-License-Identifier: MIT
name: Generate folder images
on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:
concurrency:
group: bundle-folder-images
cancel-in-progress: true
jobs:
update-images:
if: github.repository_owner == 'adafruit'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: checkout submodules
run: git submodule update --init --jobs 16 --depth 1
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Checkout screenshot maker
run: git clone --depth=1 https://github.com/circuitpython/CircuitPython_Library_Screenshot_Maker
- name: Install dependencies
run: pip install -r CircuitPython_Library_Screenshot_Maker/requirements.txt
- name: Generate images
run: |
find libraries -path "libraries/*/examples/*.py" -exec python3 CircuitPython_Library_Screenshot_Maker/create_requirement_images.py bundle {} +
- name: Commit updates
run: |
cd generated_images
git config --global user.name "${GITHUB_ACTOR} (github actions cron)"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global init.defaultBranch main
git init
for i in *.png; do echo "<a href=\"$i\">$i</a><br>"; done > index.html
git add *.png index.html
git remote add origen https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
if git commit -m"update images"; then git push -f origen HEAD:folder-images; fi








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/adafruit/Adafruit_CircuitPython_Bundle/actions/runs/15847470264/workflow

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy