Skip to content

Commit

Permalink
run cachix-push
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Sep 18, 2024
1 parent 294d0d9 commit 553ec11
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions .github/workflows/cachix-push.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,23 @@
name: "Cachix Push"
name: Cachix push

on:
workflow_run:
workflows: ["CI"]
branches: [master]
types:
- completed
pull_request:

jobs:
cachix-push:
name: Cachix Push
cachix:
name: Cachix push
runs-on: [self-hosted, nixos]
permissions:
contents: write
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:

- name: 📥 Checkout repository
uses: actions/checkout@v4
with:
repository: cardano-scaling/hydra
ref: release
# Also ensure we have all history with all tags
fetch-depth: 0

- name: ❄ Prepare nix
uses: cachix/install-nix-action@V27
uses: cachix/install-nix-action@V28
with:
extra_nix_config: |
accept-flake-config = true
log-lines = 1000
- name: Push Cachix
id: cachix-push
uses: actions/github-script@v7
with:
script: nix run .#cachix-push
- name: 📐 Cachix push
run: |
nix run .#cachix-push

0 comments on commit 553ec11

Please sign in to comment.