build: replace justfile with run
This commit is contained in:
parent
44fea3ce7c
commit
e61b2bff17
6 changed files with 78 additions and 68 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -15,15 +15,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
- uses: extractions/setup-just@95b912dc5d3ed106a72907f2f9b91e76d60bdb76 # 1.5.0
|
||||
|
||||
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac # v22
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- run: |
|
||||
nix develop --command yarn
|
||||
nix develop --command yarn build
|
||||
./run ci:build
|
||||
|
||||
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
|
||||
with:
|
||||
|
@ -37,8 +35,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
|
||||
- uses: extractions/setup-just@95b912dc5d3ed106a72907f2f9b91e76d60bdb76 # 1.5.0
|
||||
|
||||
- name: Add the deployment SSH key
|
||||
uses: shimataro/ssh-key-action@3c9b0fc6f2d223b8450b02a0445f526350fc73e0 # 2.3.1
|
||||
with:
|
||||
|
@ -52,6 +48,6 @@ jobs:
|
|||
path: dist
|
||||
|
||||
- run: |
|
||||
just deploy ${{ github.sha }}
|
||||
./run ci:deploy ${{ github.sha }}
|
||||
|
||||
# vim: sw=2 ts=2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue