Removed Material MKDocs Workflow
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
This commit is contained in:
@@ -5,39 +5,39 @@ on:
|
|||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
mkdocs_deploy:
|
# mkdocs_deploy:
|
||||||
name: Sync Docs to https://docs.bunny-lab.io
|
# name: Sync Docs to https://docs.bunny-lab.io
|
||||||
runs-on: gitea-runner-mkdocs
|
# runs-on: gitea-runner-mkdocs
|
||||||
|
#
|
||||||
steps:
|
# steps:
|
||||||
- name: Install Node.js, git, rsync, and curl
|
# - name: Install Node.js, git, rsync, and curl
|
||||||
run: |
|
# run: |
|
||||||
apk add --no-cache nodejs npm git rsync curl
|
# apk add --no-cache nodejs npm git rsync curl
|
||||||
|
#
|
||||||
- name: Checkout Repository
|
# - name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
|
#
|
||||||
- name: Copy Repository Data to Production Server
|
# - name: Copy Repository Data to Production Server
|
||||||
run: |
|
# run: |
|
||||||
rsync -a --delete \
|
# rsync -a --delete \
|
||||||
--exclude='.git/' \
|
# --exclude='.git/' \
|
||||||
--exclude='.gitea/' \
|
# --exclude='.gitea/' \
|
||||||
--exclude='assets/' \
|
# --exclude='assets/' \
|
||||||
--exclude='schema/' \
|
# --exclude='schema/' \
|
||||||
--exclude='stylesheets/' \
|
# --exclude='stylesheets/' \
|
||||||
--exclude='schema.json' \
|
# --exclude='schema.json' \
|
||||||
. /Gitops_Destination/
|
# . /Gitops_Destination/
|
||||||
|
#
|
||||||
- name: Trigger Material MKDocs Container Re-Deployment
|
# - name: Trigger Material MKDocs Container Re-Deployment
|
||||||
run: |
|
# run: |
|
||||||
curl --fail --show-error --silent --insecure \
|
# curl --fail --show-error --silent --insecure \
|
||||||
-X POST \
|
# -X POST \
|
||||||
"https://192.168.3.48:9443/api/stacks/webhooks/c891d2b5-7eca-42ef-8c3f-896bffbae803"
|
# "https://192.168.3.48:9443/api/stacks/webhooks/c891d2b5-7eca-42ef-8c3f-896bffbae803"
|
||||||
|
#
|
||||||
- name: Notify via NTFY
|
# - name: Notify via NTFY
|
||||||
if: always()
|
# if: always()
|
||||||
run: |
|
# run: |
|
||||||
curl -d "https://docs.bunny-lab.io - MKDocs job status: ${{ job.status }}" https://ntfy.bunny-lab.io/gitea-runners
|
# curl -d "https://docs.bunny-lab.io - MKDocs job status: ${{ job.status }}" https://ntfy.bunny-lab.io/gitea-runners
|
||||||
|
|
||||||
zensical_deploy:
|
zensical_deploy:
|
||||||
name: Sync Docs to https://kb.bunny-lab.io
|
name: Sync Docs to https://kb.bunny-lab.io
|
||||||
|
|||||||
Reference in New Issue
Block a user