Skip to content

Commit 12631ca

Browse files
build prod template has a workflow dispatch
1 parent ef62fb8 commit 12631ca

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build Prod Template
2+
3+
on:
4+
workflow_dispatch
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
build-template:
11+
name: Build E2B template
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
- uses: actions/setup-python@v6
17+
with:
18+
python-version: '3.13'
19+
20+
- name: Install development dependencies
21+
working-directory: ./template
22+
run: pip install -r requirements-dev.txt
23+
24+
- name: Build E2B template
25+
id: build-template
26+
working-directory: ./template
27+
run: |
28+
python build_prod.py
29+
env:
30+
E2B_API_KEY: ${{ secrets.E2B_PROD_API_KEY }}
31+
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}

0 commit comments

Comments
 (0)