Skip to content

V1.7.1 2024.02.22

V1.7.1 2024.02.22 #30

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 -m workflowHelper.preview
- name: Show Changes
run: |
git status
- name: Commit Changes
run: |
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