1
0
Fork 0
forked from Skynet/wiki
wiki/.forgejo/workflows/build.yaml

30 lines
No EOL
582 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@v2
with:
input: 'skynet_website_renew'
token: ${{ secrets.API_TOKEN_FORGEJO }}