mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
* chore(ci): CI hygiene batch (concurrency, timeouts, action pinning, Dependabot) Rework of #350 with release-related changes removed per maintainer feedback on #348 (semantic-release intentionally disabled while main stabilizes). What's included: - Concurrency groups on all workflows (cancel superseded runs) - timeout-minutes on all jobs (prevent stuck builds) - SHA-pinned third-party actions (supply chain hardening) - Dependabot config for Maven deps + GitHub Actions - CODEOWNERS routing CI/release paths to @hectorvent - SECURITY.md with private vulnerability reporting instructions What's NOT included (intentionally): - semver.yml changes (semantic-release on main) - .releaserc.json changes (main branch addition) * chore: switch Dependabot schedule from weekly to monthly
37 lines
667 B
YAML
37 lines
667 B
YAML
name: Publish Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|
|
paths:
|
|
- 'docs/**'
|
|
- '.github/workflows/docs.yml'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.x"
|
|
|
|
- name: Install MkDocs
|
|
run: pip install -r docs/requirements.txt
|
|
|
|
- name: Deploy to GitHub Pages
|
|
run: mkdocs gh-deploy --force
|