scim-docs/.forgejo/workflows/main.yaml
Hugo Renard 2d42e9fd97
Some checks failed
/ build (push) Failing after 1s
ci: add forgejo action
2024-09-23 16:24:27 +02:00

18 lines
449 B
YAML

on: [push]
env:
HUGO_VERSION: 0.79.0
jobs:
build:
runs-on: nix
container:
volumes:
- /nix:/nix
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/