Skip to content

Merge pull request #188 from reshamas/blog-adam #159

Merge pull request #188 from reshamas/blog-adam

Merge pull request #188 from reshamas/blog-adam #159

Workflow file for this run

name: Generate Jekyll Archives
# description: Generate categories, tags and years archive files.
on:
workflow_dispatch:
push:
paths:
- "_posts/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create required folders
run: |
mkdir -p _archives/categories
mkdir -p _archives/tags
mkdir -p _archives/years
- name: Generate Jekyll Archives
uses: kannansuresh/jekyll-blog-archive-workflow@master
with:
archive_url: "https://blog.scikit-learn.org/archives/archivedata"
archive_folder_path: "_archives"
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: commit
run: |
git add --all
git commit -m "Created and updated archive files." || echo "No changes to commit."
git push origin main || echo "No changes to push."