Skip to content

Commit 43d616b

Browse files
rvemint-index
authored andcommitted
[Chore] Switch to GitHub Actions
1 parent 533f36c commit 43d616b

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

.buildkite/pipeline.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches: ["release"]
6+
7+
jobs:
8+
check:
9+
runs-on: [self-hosted, nix]
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Check Nix flake
14+
run: nix flake check -L
15+
16+
deploy:
17+
runs-on: [self-hosted, nix]
18+
if: github.ref == 'refs/heads/release'
19+
needs: [check]
20+
steps:
21+
- uses: actions/checkout@v2
22+
23+
- name: Deploy
24+
run: nix shell -f. inputs.deploy-rs.defaultPackage.x86_64-linux -c deploy -s

0 commit comments

Comments
 (0)