Skip to content

Commit

Permalink
fix: std publish directory (FuelLabs#4590)
Browse files Browse the repository at this point in the history
## Description
Updates to `forc doc` changed the output structure of generated docs.
This updates the publish directory so that mdbook can find the
`index.html`.
  • Loading branch information
eureka-cpu authored May 27, 2023
1 parent be7e73a commit af07c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./sway-lib-std/out/doc
publish_dir: ./sway-lib-std/out/doc/std
destination_dir: ${{ steps.branch_name.outputs.BRANCH_NAME }}/std
if: startsWith(github.ref, 'refs/tags')

Expand Down

0 comments on commit af07c68

Please sign in to comment.