Skip to content

V1.6.5 2024.02.13

V1.6.5 2024.02.13 #25

Workflow file for this run

name: Generate Social Preview
on:
workflow_dispatch:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Install Python 3.10
id: python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Update PIP
run: |
python -m pip install --upgrade pip
- name: Setup Image Dependencies
run: |
python -m pip install --upgrade Pillow
- name: Generate Social Preview
run: |
python ./workflowHelper/preview.py
- name: Show and Push
run: |
git status
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git add ./img/socialPreview.png
git commit -m "🤖Generated Social Preview."
git push origin HEAD:main
continue-on-error: true