2024-09-13 20:08:41 +02:00
|
|
|
name: Deploy website
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2024-09-13 20:16:25 +02:00
|
|
|
- main
|
2024-09-13 20:08:41 +02:00
|
|
|
paths:
|
2024-09-13 20:15:13 +02:00
|
|
|
- 'site/**'
|
2024-09-13 20:08:41 +02:00
|
|
|
- '.forgejo/workflows/deploy-front.yaml'
|
2024-09-14 00:06:09 +02:00
|
|
|
- 'webring.nix'
|
2024-09-13 20:08:41 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: native
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- run: |
|
|
|
|
nix build -L .#site -o /srv/web/nixwebr.ing
|