Skip to content

Commit 78b5695

Browse files
author
Your Name
committed
Publish dev docs asset
1 parent 7e31d5f commit 78b5695

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/dev-release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ jobs:
4848
echo "ROCPKG_HASH=${HASH}" >> $GITHUB_ENV
4949
echo "ROCPKG_ASSET=${HASH}.tar.br" >> $GITHUB_ENV
5050
51+
- name: Build docs
52+
env:
53+
ROC_DOCS_URL_ROOT: /basic-cli/dev
54+
run: |
55+
roc docs ./platform/main.roc
56+
tar -czf docs.tar.gz -C generated-docs .
57+
5158
- name: Publish dev release
5259
uses: ncipollo/release-action@v1
5360
with:
@@ -56,4 +63,6 @@ jobs:
5663
prerelease: true
5764
allowUpdates: true
5865
replacesArtifacts: true
59-
artifacts: ${{ env.ROCPKG_ASSET }}
66+
artifacts: |
67+
${{ env.ROCPKG_ASSET }}
68+
docs.tar.gz

0 commit comments

Comments
 (0)