Skip to content

Merge pull request #18 from tijdschriftdefilosoof/delete-workflows.html #6

Merge pull request #18 from tijdschriftdefilosoof/delete-workflows.html

Merge pull request #18 from tijdschriftdefilosoof/delete-workflows.html #6

# Deze file zou de `index.html` aan moeten passen, als de nieuwe thumbnails geextraheerd zijn.
on:
push:
paths:
- 'img/[0-9]*.png'
jobs:
add-new-thumbnails-to-gallery:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4

Check failure on line 13 in .github/workflows/regenerate-gallery.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/regenerate-gallery.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Update index.html with new images.
run: |
echo "Updating index.html with new images."
python3 generate-index.py
- name: Commit changes
run: |
git config --local user.email "
git config --local user.name "GitHub Action"
git add index.html
git commit -m "[CI/CD] Update index.html with new images"
git push