feat(4): Replace workflow with three
This commit is contained in:
parent
0ea4c5179c
commit
40ea0f6d47
4 changed files with 75 additions and 22 deletions
19
.forgejo/workflows/ci.yml
Normal file
19
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: nix shell nixpkgs#mdbook --command ./deploy.sh build
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: site-${{ github.sha }}
|
||||
path: blog/
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue