GitHub Action to deploy blockchain environments using builder-playground.
- name: Start Builder Playground
uses: flashbots/builder-playground-action@v1
with:
recipe: l1 # Required: recipe name or path to recipe.yaml| Input | Description | Required | Default |
|---|---|---|---|
version |
Version of builder-playground to use | No | latest |
recipe |
Recipe name or path to recipe.yaml file | Yes | - |
name: Deploy Devnet
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Start playground
uses: flashbots/builder-playground-action@v1
with:
recipe: l1
- name: Run tests
run: |
# Your tests herename: Deploy Custom Environment
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Start playground
uses: flashbots/builder-playground-action@v1
with:
version: v1.0.0
recipe: ./configs/my-recipe.yaml
- name: Run tests
run: |
# Your tests hereThis action uses flashbots-toolchain to install builder-playground and then runs it in the background with your specified recipe.
MIT