This repository centralizes reusable GitHub Actions workflows used by the osunyorg
organization for Rennes Ville & Métropole projects.
It aims to simplify maintenance and unify CI/CD processes across multiple repositories.
- File:
.github/workflows/ecedi-search-engine-indexer.yml
- Runs a content indexing script from a submodule.
- Must be triggered by the "deuxfleurs" workflow
- File:
.github/workflows/ecedi-update-submodules.yml
- Updates the Hugo theme submodule
themes/rennes-hugo-theme
.
- File:
.github/workflows/ecedi-update-search-engine-indexer.yml
- Updates the submodule
modules/search-engine-indexer
.
To reuse a workflow in another repository (e.g., osunyorg/rennes-metropole
), create a wrapper workflow in .github/workflows/your-workflow.yml
like this:
name: ecedi - Run content Indexer
on:
workflow_run:
workflows: ["deuxfleurs"]
types: [completed]
jobs:
index-content:
uses: ecedi/rennes-ville-metropole-workflows/.github/workflows/ecedi-search-engine-indexer.yml@main
secrets:
ECEDI_INDEXER_API_URL: ${{ secrets.ECEDI_INDEXER_API_URL }}
ECEDI_INDEXER_API_KEY: ${{ secrets.ECEDI_INDEXER_API_KEY }}
ECEDI_API_BASIC_AUTH: ${{ secrets.ECEDI_API_BASIC_AUTH }}