Skip to content

Commit

Permalink
Merge pull request #527 from NixOS/use-cachix-to-speedup-builds
Browse files Browse the repository at this point in the history
add cachix to speed up the builds on github actions
  • Loading branch information
garbas committed Sep 14, 2020
2 parents bfcda90 + 70be2ec commit 61737fc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
echo 'experimental-features = nix-command flakes' | sudo tee -a /etc/nix/nix.conf
nix --version
cat /etc/nix/nix.conf
- uses: cachix/cachix-action@v6
with:
name: nixos-homepage
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Update content
run: ./update.sh
- name: Building nixos.org
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
echo 'experimental-features = nix-command flakes' | sudo tee -a /etc/nix/nix.conf
nix --version
cat /etc/nix/nix.conf
- uses: cachix/cachix-action@v6
with:
name: nixos-homepage
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Update content
run: ./update.sh
- name: Building nixos.org
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pulls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
echo 'experimental-features = nix-command flakes' | sudo tee -a /etc/nix/nix.conf
nix --version
cat /etc/nix/nix.conf
- uses: cachix/cachix-action@v6
with:
name: nixos-homepage
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Update content
run: ./update.sh
- name: Building nixos.org
Expand Down

1 comment on commit 61737fc

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://nixos.org as production
🚀 Deployed on https://5f5f2f8ab8c30d31f235e7c7--nixos-homepage.netlify.app

Please sign in to comment.