Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/publish-misc-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish misc GitHub Pages
on:
push:
branches:
- next
paths:
- "yarn-project/scripts/latency-explorer/**"

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout source repo
uses: actions/checkout@v4

- name: Checkout benchmark-page-data repo
uses: actions/checkout@v4
with:
repository: AztecProtocol/benchmark-page-data
token: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
path: benchmark-page-data

- name: Copy latency explorer
run: |
mkdir -p benchmark-page-data/misc/tx-latency-explorer
cp yarn-project/scripts/latency-explorer/index.html benchmark-page-data/misc/tx-latency-explorer/index.html

- name: Push changes
working-directory: benchmark-page-data
run: |
git config user.name "AztecBot"
git config user.email "tech@aztecprotocol.com"
git add .
git diff --cached --quiet && echo "No changes to publish" && exit 0
git commit -m "Update tx-latency-explorer from ${{ github.sha }}"
git push
Loading
Loading