mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Replaces the 38 floating tag refs left across ci, compatibility, doc-style, docs, docs-actions, conventional-commits, nightly, release and welcome with the SHA plus version comment style already used by release-cut and build-images. Floating majors are pinned to their current release (upload-artifact v7.0.1, download-artifact v8.0.1, setup-python v7.0.0, amazon-ecr-login v2.0.1). Every SHA was checked against the tag it annotates.
38 lines
782 B
YAML
38 lines
782 B
YAML
name: Publish Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|
|
paths:
|
|
- 'docs/**'
|
|
- 'mkdocs.yml'
|
|
- '.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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
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
|