mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
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:
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
@@ -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
|
||||
|
||||
19
.github/workflows/wiki.yml
vendored
Normal file
19
.github/workflows/wiki.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user