Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit df7604c

Browse files
committed
ci: use nix build for page artifacts
1 parent 1fb7db1 commit df7604c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ jobs:
3838
run: |
3939
nix develop --command bash -c "cd frontend && exec ./build.sh --low-memory-unused --strip-dwarf --converge -O4 -Oz"
4040
41+
- name: upload-pages-artifact
42+
uses: actions/upload-pages-artifact@v3
43+
with:
44+
path: frontend/dist
45+
retention-days: 90
46+
47+
- name: deploy-pages
48+
uses: actions/deploy-pages@v4
49+
4150
ghcup-build:
4251
name: ghcup-build
4352
runs-on: ubuntu-24.04
@@ -134,12 +143,3 @@ jobs:
134143
run: |
135144
cd frontend
136145
./build.sh --low-memory-unused --strip-dwarf --converge -O4 -Oz
137-
138-
- name: upload-pages-artifact
139-
uses: actions/upload-pages-artifact@v3
140-
with:
141-
path: frontend/dist
142-
retention-days: 90
143-
144-
- name: deploy-pages
145-
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)