Skip to content

Commit

Permalink
do not hardcode prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Nov 14, 2024
1 parent 8f6d8fb commit 73c1038
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,19 @@ jobs:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- # Output setting example
- id: repo-basename
run: |
echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT
- shell: bash
- uses: actions/checkout@v4
- name: Setup Pages
id: pages
uses: actions/[email protected]
- name: Build documentation
uses: elastic/docs-builder@main
uses: ${{ github.repository }}@main
with:
prefix: "docs-builder"
prefix: ${{ steps.repo-basename.outputs.value }}
- name: Upload artifact
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 73c1038

Please sign in to comment.