Skip to content

Commit 5149fda

Browse files
Add temporary config to publish the docs from main
The workflow is meant to publish the docs on new releases, but as we already had releases when workflow wasn't implemented, we need to publish the docs representing the current state of the API. We are satisfied with docummenting based on the `main` branch state. After docs get publish, we need to revert this change.
1 parent 2ee35a6 commit 5149fda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/contracts-docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ jobs:
5454
contracts-docs-publish:
5555
name: Publish contracts documentation
5656
needs: docs-detect-changes
57-
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v')
57+
# TODO: remove last OR
58+
if: (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v')) || github.ref == 'refs/pull/138/merge'
5859
uses: keep-network/ci/.github/workflows/reusable-solidity-docs.yml@main
5960
with:
6061
publish: true

0 commit comments

Comments
 (0)