website/.forgejo/workflows/main.yml
Jan Kremer 866aebdcc8
Some checks failed
/ deploy (push) Failing after 16s
Add forgejo action
2026-03-28 16:20:38 +01:00

17 lines
408 B
YAML

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: Build
run: nix run .
- name: Deploy
run: cp -rf --no-preserve=all public/. /var/www/jankremer.de/