Skip to content

Commit

Permalink
Self-host documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbiessy committed May 26, 2024
1 parent 90bc218 commit 8f4e72e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -34,8 +34,8 @@ jobs:

publish:
needs: build
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' && github.ref == 'refs/heads/develop'
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' && github.ref == 'refs/heads/romain/docs'
runs-on: self-hosted
permissions:
contents: write
steps:
Expand Down

0 comments on commit 8f4e72e

Please sign in to comment.