This commit is contained in:
parent
b12087238b
commit
866aebdcc8
4 changed files with 30 additions and 23 deletions
17
.forgejo/workflows/main.yml
Normal file
17
.forgejo/workflows/main.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue