Skip to content

Adding K0002674_00001.jpg #6

Adding K0002674_00001.jpg

Adding K0002674_00001.jpg #6

name: convert_images
on:
workflow_dispatch:
push:
branches:
- main
paths:
- images/uploads/**
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
convertimages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: glenrobson/iiif-tiler-action@main
with:
input-dir-v2: images/uploads/2
input-dir-v3: images/uploads/3
output-dir: images
manifest: images/manifest.json
- name: commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git config pull.rebase false
git pull origin main
git add -A
git commit -m "Adding IIIF image to repository" -a || echo "No changes to commit"
- name: push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main