Actions: Update and add Wiki publish

Publishes the github wiki and runs these in concurrency groups
to avoid spawning multiple actions at a time.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
kingbri 2025-02-17 23:47:38 -05:00
parent 5614b342a7
commit 830301b2b4
2 changed files with 23 additions and 0 deletions

View file

@ -4,6 +4,10 @@ on:
push: push:
branches: ['main'] branches: ['main']
concurrency:
group: "docker-${{ github.ref }}"
cancel-in-progress: true
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env: env:
REGISTRY: ghcr.io REGISTRY: ghcr.io

19
.github/workflows/wiki.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Deploy to Wiki
on:
push:
branches: ['main']
concurrency:
group: "wiki-deploy-${{ github.ref }}"
cancel-in-progress: true
jobs:
deploy-wiki:
permissions:
contents: write
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions4gh/deploy-wiki@v1
with:
path: ./docs