forked from Skynet/actions
Compare commits
2 commits
a8089bb1a9
...
bdbf720c05
Author | SHA1 | Date | |
---|---|---|---|
bdbf720c05 | |||
e35f409ae2 |
2 changed files with 12 additions and 9 deletions
16
README.md
16
README.md
|
@ -106,8 +106,7 @@ jobs:
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker Nix
|
## Docker Nix
|
||||||
This action is used to get nix into the docker user deploy system. For this to work, replace the curly brackets with your
|
This action is used to get nix into the docker user deploy system.
|
||||||
desired Nix version.
|
|
||||||
### v7
|
### v7
|
||||||
```yaml
|
```yaml
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -115,6 +114,15 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7
|
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7
|
||||||
with:
|
```
|
||||||
nix_version: {insert_nix_version_here}
|
|
||||||
|
## Nix build Deploy user
|
||||||
|
This action can build your website if you develop it using different methods than writing HTML. Only pre-requisite is that
|
||||||
|
this action uses the Nix build command, so your repository requires a nix flake.
|
||||||
|
```yaml
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
uses: https://forgejo.skynet.ie/Skynet/actions/nix-build_deploy@v7
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
name: 'Get image ready to run nix jobs'
|
name: 'Get image ready to run nix jobs'
|
||||||
description: 'Update apt repositories and installing sudo'
|
description: 'Update apt repositories and installing sudo'
|
||||||
inputs:
|
|
||||||
nix_path:
|
|
||||||
description: 'Nix channel to be followed'
|
|
||||||
required: false
|
|
||||||
default: 'nixpkgs=channel:nixos-unstable'
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue