Skip to content

Commit a8da6fb

Browse files
(actions) correct reference of outputs
1 parent fd8efab commit a8da6fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15+
outputs:
16+
page_url: ${{ steps.deployment.outputs.page_url }}
1517
steps:
1618
- uses: actions/checkout@v5
1719
- uses: actions/setup-node@v6
@@ -33,7 +35,7 @@ jobs:
3335
runs-on: ubuntu-latest
3436
environment:
3537
name: github-pages
36-
url: ${{ steps.deployment.outputs.page_url }}
38+
url: ${{ needs.build.outputs.page_url }}
3739
permissions:
3840
actions: read # to read the artifact from the previous job
3941
# pages and id-token required to deploy to GitHub Pages

0 commit comments

Comments
 (0)