From db8045dbf62f25e7ed43345e6fb904d90d1aec3c Mon Sep 17 00:00:00 2001 From: "romain.biessy" Date: Sun, 26 May 2024 15:02:44 +0100 Subject: [PATCH] Self-host documentation --- .github/workflows/documentation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 000d737aa..a6f658864 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -4,7 +4,7 @@ permissions: read-all # Trigger for PR or merge to develop branch on: push: - branches: develop + branches: romain/docs paths: - 'docs/**' pull_request: @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 @@ -35,7 +35,7 @@ jobs: publish: needs: build if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' && github.ref == 'refs/heads/develop' - runs-on: ubuntu-latest + runs-on: self-hosted permissions: contents: write steps: