Skip to content

Commit d79c22b

Browse files
committed
chore(CI): Build on Push
1 parent 4bbedaf commit d79c22b

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/build.yaml

Whitespace-only changes.

.github/workflows/docs.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# by https://github.com/danth/stylix/blob/master/.github/workflows/docs.yml
2-
name: Docs
2+
name: Docs and Build
33

44
on:
55
push:
@@ -22,6 +22,15 @@ jobs:
2222
github-token: ${{ secrets.GITHUB_TOKEN }}
2323
extra-conf: |
2424
extra-experimental-features = nix-command flakes
25+
- name: action
26+
uses: cachix/install-nix-action@v25
27+
with:
28+
nix_path: nixpkgs=channel:nixos-unstable
29+
- name: cache
30+
uses: cachix/cachix-action@v16
31+
with:
32+
name: oxirun
33+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2534

2635
- name: Set up cache
2736
uses: DeterminateSystems/magic-nix-cache-action@main
@@ -37,6 +46,9 @@ jobs:
3746
with:
3847
path: public/
3948

49+
- name: Build DashVim
50+
run: nix -L build github:${{ github.repository }}/${{ github.sha }}
51+
4052
deploy:
4153
name: Deploy
4254

0 commit comments

Comments
 (0)