Add runner
This commit is contained in:
20
.gitea/workflows/deploy.yaml
Normal file
20
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Build and Deploy Notes
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build with MkDocs Material
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/docs squidfunk/mkdocs-material build
|
||||
|
||||
- name: Deploy to Web Folder
|
||||
run: |
|
||||
cp -R site/* /data/notes/
|
||||
Reference in New Issue
Block a user