work in progress on publishing docs
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
name: Update Docs
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '_docs/**'
|
||||
|
||||
jobs:
|
||||
## Run replacements and cleanups on the docs
|
||||
prepare-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Upload spearhead.lua artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: spearhead-lua
|
||||
path: ./output/spearhead.lua
|
||||
|
||||
build-image:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# Download prepared pages from the previous job
|
||||
|
||||
|
||||
|
||||
- name: Build Docker image for docs
|
||||
run: |
|
||||
docker build -t spearhead-docs ./_docs
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user