Add forgejo action
Some checks failed
/ deploy (push) Failing after 6m39s

This commit is contained in:
Jan Kremer 2026-03-28 13:47:03 +01:00
parent b12087238b
commit fb8f23b96b
No known key found for this signature in database
4 changed files with 32 additions and 23 deletions

View file

@ -0,0 +1,19 @@
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
deploy:
runs-on: native
env:
PATH: /run/current-system/sw/bin:/usr/bin:/bin
steps:
- name: Checkout
run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }} .
- name: Check
run: nix flake check
- name: Build
run: nix run .
- name: Deploy
run: cp -r public/. /var/www/jankremer.de/