Skip to content

Commit 193819e

Browse files
committed
can not dynamically reference image
1 parent 0031785 commit 193819e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,16 @@ jobs:
3030
name: github-pages
3131
url: ${{steps.deployment.outputs.page_url}}
3232
steps:
33+
- id: repo-basename
34+
run: 'echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT'
3335
- uses: actions/checkout@v4
3436
- name: Setup Pages
3537
id: pages
3638
uses: actions/[email protected]
3739
- name: Build documentation
3840
uses: Mpdreamz/docset-builder@main
3941
with:
40-
prefix: 'docset-builder'
42+
prefix: '${{ steps.repo-basename.outputs.value }}'
4143
- name: Upload artifact
4244
uses: actions/[email protected]
4345
with:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ inputs:
1212

1313
runs:
1414
using: 'docker'
15-
image: "docker://ghcr.io/${{ github.repository }}:edge"
15+
image: "docker://ghcr.io/Mpdreamz/docset-builder:edge"
1616

0 commit comments

Comments
 (0)