Skip to content

Commit

Permalink
ci: dry run docs on pull request (#15)
Browse files Browse the repository at this point in the history
* ci: dry run docs on pull request

* Fix mdbook
  • Loading branch information
liuchengxu authored Jul 12, 2024
1 parent bf1e1eb commit a13dce3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: write
Expand Down Expand Up @@ -63,3 +66,4 @@ jobs:
with:
branch: gh-pages
folder: target/doc
dry-run: ${{ github.event_name == 'pull_request' }}
2 changes: 1 addition & 1 deletion docs/src/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mkdir -p /tmp/btc-data && ./src/bitcoind -datadir=/tmp/btc-data -txindex -coinst

Keep the `bitcoind` process running for a while and ensure it has synced a number of blocks.

```
```text
...
8-29T01:17:02Z' progress=0.001342 cache=33.0MiB(304329txo)
2024-07-11T17:23:10Z UpdateTip: new best=00000000000008c273c4c215892eacbafec33c199cfd3d9b539cdb6aafc39f54 height=142979 version=0x00000001 log2_work=66.385350 tx=1392173 date='2011-08-29T01:23:19Z' progress=0.001342 cache=33.0MiB(304442txo)
Expand Down

0 comments on commit a13dce3

Please sign in to comment.