18 lines
440 B
YAML
18 lines
440 B
YAML
|
on: [push]
|
||
|
env:
|
||
|
HUGO_VERSION: 0.79.0
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: nix
|
||
|
container:
|
||
|
volumes:
|
||
|
- /nix/store:/nix/store:rw
|
||
|
steps:
|
||
|
- run: nix build "git+${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}?rev=${{ env.GITHUB_SHA }}"
|
||
|
env:
|
||
|
NIX_CONFIG: experimental-features = nix-command flakes
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: public
|
||
|
path: result/
|