forked from Skynet/actions
Feat. Making nix-build_deploy a script rather than 3 commands
Signed-off-by: Eoghan Conlon <eoghanconlon73@skynet.ie>
This commit is contained in:
parent
bdbf720c05
commit
3e4f9bd5de
2 changed files with 6 additions and 3 deletions
|
@ -9,9 +9,7 @@ runs:
|
|||
with:
|
||||
repository: ${{ gitea.repository }}
|
||||
ref_name: ${{ gitea.ref_name }}
|
||||
- run: nix build
|
||||
- run: mkdir temp
|
||||
- run: cp -rL result/* ./temp
|
||||
- run: build.sh
|
||||
- uses: https://forgejo.skynet.ie/Skynet/actions/deploy_user@v6
|
||||
with:
|
||||
ssh_key: ${{ secrets.SSH_KEY }}
|
||||
|
|
5
nix-build_deploy/build.sh
Executable file
5
nix-build_deploy/build.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
nix build
|
||||
mkdir temp
|
||||
cp -rL result/* ./temp
|
Loading…
Add table
Reference in a new issue