doc: add how to use it for getting LFS

This commit is contained in:
silver 2024-08-11 21:49:43 +01:00
parent 2ea394eea5
commit 65cf2fde2b

View file

@ -32,4 +32,22 @@ jobs:
with:
input: 'compsoc_public'
token: ${{ secrets.API_TOKEN_FORGEJO }}
```
```
### Get LFS
````yaml
jobs:
build:
# build it using teh base nixos system, helps with caching
runs-on: nix
steps:
# get the repo first
- uses: https://code.forgejo.org/actions/checkout@v4
- name: "Get LFS objects"
uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet/get_lfs@v3
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
- name: "Build it locally"
run: nix build --verbose
````