forked from Skynet/actions
Compare commits
No commits in common. "bdbf720c052ec0655f72c2712f9f6781444e3fb4" and "a8089bb1a949513069fea166fee3cd1425fa17b4" have entirely different histories.
bdbf720c05
...
a8089bb1a9
2 changed files with 9 additions and 12 deletions
16
README.md
16
README.md
|
@ -106,7 +106,8 @@ jobs:
|
|||
```
|
||||
|
||||
## Docker Nix
|
||||
This action is used to get nix into the docker user deploy system.
|
||||
This action is used to get nix into the docker user deploy system. For this to work, replace the curly brackets with your
|
||||
desired Nix version.
|
||||
### v7
|
||||
```yaml
|
||||
jobs:
|
||||
|
@ -114,15 +115,6 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7
|
||||
```
|
||||
|
||||
## 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
|
||||
with:
|
||||
nix_version: {insert_nix_version_here}
|
||||
```
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
name: 'Get image ready to run nix jobs'
|
||||
description: 'Update apt repositories and installing sudo'
|
||||
inputs:
|
||||
nix_path:
|
||||
description: 'Nix channel to be followed'
|
||||
required: false
|
||||
default: 'nixpkgs=channel:nixos-unstable'
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue