Skip to content

convert_images

convert_images #4

name: convert_images
on:
workflow_dispatch:
push:
branches:
- main
paths:
- images/upload/**
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
- name: Convert images
run: .github/bin/convertImages.sh
#- 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 "Create 1 manifest and IIIF derivatives" -a || echo "No changes to commit"
#- name: push changes
# uses: ad-m/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: main