File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check
2+
3+ on :
4+ push :
5+ branches-ignore :
6+ - master
7+
8+ workflow_call :
9+
10+ jobs :
11+ check :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v6
15+ - uses : DeterminateSystems/nix-installer-action@main
16+ - uses : DeterminateSystems/magic-nix-cache-action@main
17+ - run : nix flake check -L
Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ check :
14+ uses : ./.github/workflows/check.yml
15+
16+ deploy :
17+ permissions :
18+ contents : write
19+ needs : [check]
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v6
23+ with :
24+ fetch-depth : 0
25+
26+ - uses : DeterminateSystems/nix-installer-action@main
27+ - uses : DeterminateSystems/magic-nix-cache-action@main
28+
29+ - name : Configure git
30+ run : |
31+ git config user.name "github-actions[bot]"
32+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
33+
34+ - run : nix run .#deploy
You can’t perform that action at this time.
0 commit comments