This commit is contained in:
parent
e7e9948c70
commit
60b4faac73
18
.gitea/workflows/buildsite.yaml
Normal file
18
.gitea/workflows/buildsite.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
name: Site Builder
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: gentoo-amd64
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: build
|
||||
run: mkdocs build
|
||||
- name: Clean old deployment
|
||||
run: rm -rf /var/www/vhosts/starforge.co.uk/site/*
|
||||
- name: deploy
|
||||
run: cp -a site/* /var/www/vhosts/starforge.co.uk/site/
|
Loading…
x
Reference in New Issue
Block a user