Skip to content

Adding test image

Adding test image #10

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-dir2: images/uploads/2
input-dir3: 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]
#github_token: ${{ secrets.GITHUB_TOKEN }}
# with:
# branch: main