forked from ethereum-optimism/op-geth
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (33 loc) · 959 Bytes
/
pages.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build and publish forkdiff github-pages
on:
push:
branches:
- celo[0-9]+
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
permissions:
contents: write
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # 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@920cbb300dcd3f0568dbc42700c61e2fd9e6139c
with:
folder: tmp/pages
clean: true