Skip to content

Commit

Permalink
updates to page deployment and minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
bloxster committed Oct 15, 2024
1 parent 5286283 commit 66cfbaa
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 22 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
42 changes: 25 additions & 17 deletions .github/workflows/pages-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,32 @@ on:
branches:
- main

env:
MDBOOK_VERSION: v0.4.40

jobs:
deploy:
deploy-cloudflare:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Install dependencies
run: npm install

- name: Build and deploy
env:
NODE_AUTH_TOKEN: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
- name: Install latest mdbook
run: |
url="https://github.com/rust-lang/mdbook/releases/download/$MDBOOK_VERSION/mdbook-$MDBOOK_VERSION-x86_64-unknown-linux-gnu.tar.gz"
mkdir mdbook
curl -sSL $url | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Build Book
run: |
npm run build
npm run deploy
# This assumes your book is in the root of your repository.
# Just add a `cd` here if you need to change to another directory.
mdbook build
- name: Publish
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy book --project-name=${{ secrets.CLOUDFLARE_PROJECT }} --commit-dirty=true
2 changes: 1 addition & 1 deletion src/basic-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The default node is archive node.

* ```--chain=mainnet```, add the flag --chain=goerli for Goerli testnet, --chain=sepolia for Sepolia testnet or --chain=holesky for Holesky testnet.

* --http.addr="0.0.0.0" --http.api=eth,web3,net,debug,trace,txpool to use RPC and e.g. be able to connect your [wallet](basic/wallet.md).
* ```--http.addr="0.0.0.0" --http.api=eth,web3,net,debug,trace,txpool``` to use RPC and e.g. be able to connect your [wallet](basic/wallet.md).

* To increase download speed add ```--torrent.download.rate=512mb``` (default is 16mb)

Expand Down
3 changes: 0 additions & 3 deletions src/basic/networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ Utilize the flag `--chain=<tag>` to synchronize with one of the supported networ
./build/bin/erigon --chain=holesky
```




# Mainnets

|Chain | Tag| ChainId|
Expand Down
3 changes: 3 additions & 0 deletions src/basic/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ If you want to run a validator and produce blocks, **staking** is achievable alr
| Research | No | No | **Yes** |
| Staking | No | **Yes** | **Yes** |


To switch type of node, you must first delete the ```/chaindata``` folder in the chosen ```--datadir``` directory.

## Archive node
The traditional Archive Node remains the default, providing complete historical data.

Expand Down
1 change: 0 additions & 1 deletion src/usage.md

This file was deleted.

0 comments on commit 66cfbaa

Please sign in to comment.