Skip to content

Commit

Permalink
Reference subaction using absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkKremer committed Oct 20, 2024
1 parent 97854ad commit 1a6c0ec
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ inputs:
main-branch:
description: 'Branch to publish alongside tagged versions'
required: true
# temporary, figure out another solution.
action-repository:
description: "for internal use"
default: ${{ github.action_repository }}
action-ref:
description: "for internal use"
default: ${{ github.action_ref }}
runs:
using: 'composite'
steps:
Expand All @@ -28,7 +35,7 @@ runs:
ref: ${{ inputs.main-branch }}
fetch-depth: 0 # checkout a non-shallow copy so the generator can generate docs for all major versions
- name: Generate static site
uses: ${{ github.action_repository }}/.github/actions/docgen@${{ github.action_ref }}
uses: ${{ inputs.action-repository }}/.github/actions/docgen@${{ inputs.action-ref }}
with:
site-url: ${{ steps.configure-pages.outputs.base_url }}
github-url: ${{ inputs.github-url }}
Expand Down

0 comments on commit 1a6c0ec

Please sign in to comment.