wiki/.forgejo/workflows/build.yaml
Brendan Golden 78d8fb5f54
All checks were successful
Build / build (push) Successful in 7s
Build / deploy (push) Successful in 8s
ci: test using our own action
2024-08-08 14:44:32 +01:00

29 lines
No EOL
532 B
YAML

name: Build
# Build it locally
on:
push:
branches:
- 'main'
paths:
- flake.*
- src/**/*
- .forgejo/**/*
jobs:
build:
runs-on: nix
steps:
# get the repo first
- uses: actions/checkout@v4
- name: "Build the Wiki"
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'