Skip to content

Commit

Permalink
GHA: remove revision input from doc action
Browse files Browse the repository at this point in the history
for workflow call we always want to use the current revision
and for workflow_dispatch we can select branch or tag

Signed-off-by: Robert Gałat <[email protected]>
  • Loading branch information
RobertGalatNordic committed May 28, 2024
1 parent 245b828 commit 710d29b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,13 @@ on:
required: false
default: "latest"
description: "Label of the documentation"
project_revision:
type: string
required: false
default: "main"
description: "Branch/commitSHA of the project from where documentaiton is build"

workflow_call:
inputs:
documentation_tag:
type: string
required: true
default: "latest"
project_revision:
type: string
required: true
default: "main"

jobs:
Publish_Documentation:
Expand All @@ -43,7 +34,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{inputs.project_revision}}
path: sidewalk

- name: Build documentation
Expand Down

0 comments on commit 710d29b

Please sign in to comment.