Skip to content

manch to tiny horses #35

manch to tiny horses

manch to tiny horses #35

Workflow file for this run

name: Generate thumbnails
on:
push:
branches:
- main
paths:
- "images/**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: custom-thumbnail
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: custom-thumbnail
uses: nathan-contino/custom-thumbnail@master
env:
INPUT_KEEP_DIR_STRUCTURE: true
with:
github_token: ${{ secrets.GH_SECRET}}
inplace: "disable" # 'enable' / "disable" [ write thumbnails at their origin path (replace) ], if disabled writes under '.thumbnails' directory
base_height_width: "1000" # (px) max limit of height/width
overwrite_existing_thumbnails: "disable"
- name: Commit & Push changes
uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GH_SECRET }}
BRANCH_NAME: 'main'