Skip to content

Commit

Permalink
use nix to build
Browse files Browse the repository at this point in the history
  • Loading branch information
wesl-ee committed Dec 19, 2023
1 parent 1d71fb1 commit 4dcdb5b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y ikiwiki rsync
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-23.05
- uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Build Website
run: |
ikiwiki --setup ikiwiki.setup
nix-shell --run 'ikiwiki --setup ikiwiki.setup'
- name: Upload to Remote Server
run: |
Expand Down

0 comments on commit 4dcdb5b

Please sign in to comment.