2024-08-08 13:13:28 +00:00
|
|
|
name: Build
|
|
|
|
# Build it locally
|
|
|
|
|
2024-08-08 13:44:32 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
paths:
|
|
|
|
- flake.*
|
|
|
|
- src/**/*
|
|
|
|
- .forgejo/**/*
|
|
|
|
|
2024-08-08 13:13:28 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: nix
|
|
|
|
steps:
|
2024-08-08 13:44:32 +00:00
|
|
|
# get the repo first
|
|
|
|
- uses: actions/checkout@v4
|
2024-08-08 13:13:28 +00:00
|
|
|
- name: "Build the Wiki"
|
2024-08-08 13:44:32 +00:00
|
|
|
run: nix build --verbose
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
runs-on: docker
|
|
|
|
needs: [ build ]
|
|
|
|
steps:
|
|
|
|
- name: "Deploy to Skynet"
|
|
|
|
uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet@v1
|
|
|
|
with:
|
|
|
|
input: 'skynet_website_renew'
|