File tree Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,14 @@ jobs:
193193 - name : Build Frontend
194194 run : |
195195 SKIP_CORE=1 pnpm build
196- VITE_ISOLATION_ORIGIN="https://puter.zone" pnpm build:chrome
196+ VITE_PUTER_BRANDING=1 VITE_ISOLATION_ORIGIN="https://puter.zone" pnpm build:chrome
197+
198+ - name : Upload Artifact (dist)
199+ uses : actions/upload-artifact@v4
200+ with :
201+ name : frontend
202+ path : |
203+ packages/chrome/dist/*
197204 tests :
198205 name : Run Scramjet Tests
199206 runs-on : ubuntu-latest
@@ -273,3 +280,37 @@ jobs:
273280 - name : Run Tests
274281 run : cargo test
275282 working-directory : packages/scramjet/packages/core/rewriter/native
283+ pages :
284+ name : Upload to Github Pages
285+ runs-on : ubuntu-latest
286+ needs : [build, package-validation, rewritertests, tests]
287+ permissions : write-all
288+ if : github.ref == 'refs/heads/main'
289+
290+ steps :
291+ - name : Checkout code
292+ uses : actions/checkout@v4
293+
294+ - name : Setup pnpm
295+ uses : pnpm/action-setup@v4
296+ with :
297+ version : latest
298+
299+ - name : Setup Node.js
300+ uses : actions/setup-node@v4
301+ with :
302+ node-version : " 22"
303+ cache : " pnpm"
304+
305+ - name : Install dependencies
306+ run : pnpm install
307+
308+ - name : Get artifacts
309+ uses : actions/download-artifact@v4
310+ with :
311+ name : frontend
312+ path : packages/chrome/dist
313+
314+ - name : Deploy to github
315+ id : deployment
316+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments