Skip to content

Commit

Permalink
add deploy script (#6792)
Browse files Browse the repository at this point in the history
  • Loading branch information
avkos committed Feb 8, 2024
1 parent 0a8f9e4 commit 9f31612
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-docs.yaml
@@ -0,0 +1,28 @@
name: Docs CloudFlare Deploy
on:
push:
- "4.x"
tags-ignore:
- v4*
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
node-version: '18'
- run: yarn install --frozen-lockfile
- run: yarn run build:docs
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 2238a825c5aca59233eab1f221f7aefb
projectName: web3-js-docs
directory: ./docs/build
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

2 comments on commit 9f31612

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 9f31612 Previous: 6c075db Ratio
processingTx 8854 ops/sec (±4.34%) 9301 ops/sec (±4.81%) 1.05
processingContractDeploy 37079 ops/sec (±6.73%) 39129 ops/sec (±7.62%) 1.06
processingContractMethodSend 17988 ops/sec (±7.23%) 19443 ops/sec (±5.19%) 1.08
processingContractMethodCall 37764 ops/sec (±5.16%) 38971 ops/sec (±6.34%) 1.03
abiEncode 42335 ops/sec (±6.87%) 44252 ops/sec (±6.92%) 1.05
abiDecode 29479 ops/sec (±6.70%) 30419 ops/sec (±8.89%) 1.03
sign 1624 ops/sec (±0.95%) 1656 ops/sec (±4.08%) 1.02
verify 369 ops/sec (±0.69%) 373 ops/sec (±0.78%) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 9f31612 Previous: 6c075db Ratio
processingTx 9405 ops/sec (±4.97%) 9301 ops/sec (±4.81%) 0.99
processingContractDeploy 41818 ops/sec (±7.32%) 39129 ops/sec (±7.62%) 0.94
processingContractMethodSend 19170 ops/sec (±6.10%) 19443 ops/sec (±5.19%) 1.01
processingContractMethodCall 39491 ops/sec (±4.37%) 38971 ops/sec (±6.34%) 0.99
abiEncode 42823 ops/sec (±8.18%) 44252 ops/sec (±6.92%) 1.03
abiDecode 30614 ops/sec (±6.58%) 30419 ops/sec (±8.89%) 0.99
sign 1605 ops/sec (±3.68%) 1656 ops/sec (±4.08%) 1.03
verify 371 ops/sec (±0.58%) 373 ops/sec (±0.78%) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.