File tree Expand file tree Collapse file tree 1 file changed +10
-35
lines changed Expand file tree Collapse file tree 1 file changed +10
-35
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,16 @@ jobs:
200200 with :
201201 name : frontend
202202 path : |
203- packages/chrome/dist/*
203+ ./packages/chrome/dist
204+
205+ - name : Upload pages artifact
206+ uses : actions/upload-pages-artifact@v3
207+ with :
208+ path : " ./packages/chrome/dist"
209+
210+ - name : Deploy to github
211+ id : deployment
212+ uses : actions/deploy-pages@v4
204213 tests :
205214 name : Run Scramjet Tests
206215 runs-on : ubuntu-latest
@@ -280,37 +289,3 @@ jobs:
280289 - name : Run Tests
281290 run : cargo test
282291 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