16 lines
374 B
YAML
16 lines
374 B
YAML
on: [push]
|
|
env:
|
|
HUGO_VERSION: 0.79.0
|
|
jobs:
|
|
build:
|
|
runs-on: native
|
|
container:
|
|
volumes:
|
|
- /nix:/nix
|
|
steps:
|
|
- name: Nix build
|
|
run: nix build "git+${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}?rev=${{ env.GITHUB_SHA }}"
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: public
|
|
path: result/
|