Skip to content

New device - KHSUIN BR30 16W RGBCT Bulb #334

New device - KHSUIN BR30 16W RGBCT Bulb

New device - KHSUIN BR30 16W RGBCT Bulb #334

name: Deploy images to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- master
paths:
- .github/workflows/gh-pages-images.yml
- images/*
concurrency: gh-pages-deployment
jobs:
deploy:
name: Deploy images to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate image thumbnails
uses: subic/ghaction-thumbnails@master
with:
source: images
output: site/images/thumbs
subfolder: false
sizes: 300x300
fit: outside
- name: Copy images to site directory
run: |
cp images/* site/images/
- name: Deploy images to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: site/images/
target-folder: images/
force: false