forked from Skynet/actions
doc: add how to use it for getting LFS
This commit is contained in:
parent
2ea394eea5
commit
65cf2fde2b
1 changed files with 19 additions and 1 deletions
18
README.md
18
README.md
|
@ -33,3 +33,21 @@ jobs:
|
|||
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
|
||||
````
|
Loading…
Reference in a new issue