18 lines
464 B
YAML
18 lines
464 B
YAML
on: [push]
|
|
env:
|
|
HUGO_VERSION: 0.79.0
|
|
jobs:
|
|
build:
|
|
runs-on: nix
|
|
container:
|
|
volumes:
|
|
- /nix/store:/nix/store:ro
|
|
steps:
|
|
- name: Nix build
|
|
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/
|