Skip to content

Commit

Permalink
feat: configure fork-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Thegaram committed Sep 25, 2024
1 parent 5d2867f commit be7ad4c
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and publish forkdiff github-pages
permissions:
contents: write
on:
push:
branches:
- scroll
jobs:
deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1000 # make sure to fetch the old commit we diff against

- name: Build forkdiff
uses: "docker://protolambda/forkdiff:0.1.0"
with:
args: -repo=/github/workspace -fork=/github/workspace/fork.yaml -out=/github/workspace/index.html

- name: Build pages
run: |
mkdir -p tmp/pages
mv index.html tmp/pages/index.html
touch tmp/pages/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: tmp/pages
clean: true
18 changes: 18 additions & 0 deletions fork.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: "scroll-reth - reth fork diff overview"
footer: |
Fork-diff overview of [`scroll-reth`](https://github.com/scroll-tech/reth), a fork of [`reth`](https://github.com/paradigmxyz/reth).
base:
name: reth
url: https://github.com/paradigmxyz/reth
hash: 5d2867f2c5bd2aaa5673f31cf4c13b8f4f1e2c39
fork:
name: scroll-reth
url: https://github.com/scroll-tech/reth
ref: refs/heads/scroll
def:
title: "scroll-reth"
description: |
This is an overview of the changes in [`scroll-reth`](https://github.com/scroll-tech/reth),
a fork of [`reth`](https://github.com/paradigmxyz/reth).
globs:
- "*"

0 comments on commit be7ad4c

Please sign in to comment.