We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
update flake lock
1 parent 4d336e5 commit f64de03Copy full SHA for f64de03
.github/workflows/trigger-downstream-flake-update.yml
@@ -0,0 +1,24 @@
1
+name: Trigger Downstream Flake Update on Push to Main
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # Or the branch you want to track
7
8
+jobs:
9
+ trigger-downstream-repo:
10
+ runs-on: ubuntu-latest
11
12
+ strategy:
13
+ matrix:
14
+ include:
15
+ - repo: 'metacraft-labs/nix-blockchain-development'
16
+ steps:
17
+ - name: Trigger Downstream Pipeline
18
+ run: |
19
+ curl -L -X POST \
20
+ -H "Accept: application/vnd.github+json" \
21
+ -H "Authorization: token ${{ github.token }}" \
22
+ -H "X-GitHub-Api-Version: 2022-11-28" \
23
+ "https://api.github.com/repos/${{ matrix.repo }}/dispatches" \
24
+ -d '{"event_type":"flake-update"}'
0 commit comments