From 830301b2b483b94cae1ccc59ff04b24b7267ad88 Mon Sep 17 00:00:00 2001 From: kingbri <8082010+kingbri1@users.noreply.github.com> Date: Mon, 17 Feb 2025 23:47:38 -0500 Subject: [PATCH] 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> --- .github/workflows/docker-image.yml | 4 ++++ .github/workflows/wiki.yml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/wiki.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index aeb510b..2fbc99b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -4,6 +4,10 @@ on: push: 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. env: REGISTRY: ghcr.io diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml new file mode 100644 index 0000000..2d15466 --- /dev/null +++ b/.github/workflows/wiki.yml @@ -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