Skip to content

Commit 89d4fd3

Browse files
committed
Specify DOCS_VERSION in the env
1 parent d5d4290 commit 89d4fd3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish-docs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
authToken: '${{ secrets.CACHIX_CARDANO_SCALING_AUTH_TOKEN }}'
3737

3838
- name: Build stable (i.e. from `release`) documentation
39+
env:
40+
DOCS_VERSION: ${{ steps.get_version.outputs.version }}
3941
working-directory: docs
4042
run: |
4143
echo "Building documentation for stable version: $DOCS_VERSION"
@@ -59,6 +61,8 @@ jobs:
5961
sed -i 's|head-protocol|head-protocol/unstable|' docusaurus.config.js
6062
6163
- name: Build /unstable documentation
64+
env:
65+
DOCS_VERSION: unstable
6266
working-directory: docs
6367
run: |
6468
echo "Building documentation for unstable version"

0 commit comments

Comments
 (0)