Add cross-platform Pages deployment via MkDocs
This commit is contained in:
@@ -60,6 +60,38 @@ jobs:
|
||||
echo "BITBUCKET_TOKEN secret not found. Skipping Bitbucket mirror."
|
||||
fi
|
||||
|
||||
- name: Mirror to GitLab
|
||||
env:
|
||||
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
|
||||
run: |
|
||||
if [ -n "$GITLAB_TOKEN" ]; then
|
||||
git remote add gitlab https://oauth2:${GITLAB_TOKEN}@gitlab.com/mrhavens/${{ github.event.repository.name }}.git
|
||||
git push --force --all gitlab
|
||||
git push --force --tags gitlab
|
||||
echo "Successfully mirrored to GitLab!"
|
||||
else
|
||||
echo "GITLAB_TOKEN secret not found. Skipping GitLab mirror."
|
||||
fi
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Build and Deploy Pages
|
||||
run: |
|
||||
if [ -f "mkdocs.yml" ]; then
|
||||
pip install mkdocs mkdocs-material
|
||||
git config --global user.name "Sovereign Automaton"
|
||||
git config --global user.email "automaton@fieldprint.one"
|
||||
mkdocs gh-deploy --force --remote-name origin
|
||||
if git remote | grep -q "^github$"; then git push --force github gh-pages; fi
|
||||
if git remote | grep -q "^gitlab$"; then git push --force gitlab gh-pages; fi
|
||||
echo "Pages successfully built and deployed across the mesh!"
|
||||
else
|
||||
echo "No mkdocs.yml found. Skipping Pages deployment."
|
||||
fi
|
||||
|
||||
- name: Sync to Radicle Network
|
||||
run: |
|
||||
RAD_POD=$(kubectl get pods -n radicle -l app=radicle -o jsonpath="{.items[0].metadata.name}")
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
site_name: The Computability of Recursive Coherence
|
||||
site_description: Intellecton Hypothesis Turing Completeness Proofs
|
||||
theme:
|
||||
name: material
|
||||
palette:
|
||||
scheme: slate
|
||||
primary: indigo
|
||||
accent: light blue
|
||||
|
||||
nav:
|
||||
- Final Proof (v1.7): papers/The_Computability_of_Recursive_Coherence_v1.7.md
|
||||
- Adversarial Peer Review Logs: papers/peer_review_logs.md
|
||||
- Drafts Archive:
|
||||
- v1.6: papers/The_Computability_of_Recursive_Coherence_v1.6.md
|
||||
- v1.5: papers/The_Computability_of_Recursive_Coherence_v1.5.md
|
||||
- v1.4: papers/The_Computability_of_Recursive_Coherence_v1.4.md
|
||||
- v1.3: papers/The_Computability_of_Recursive_Coherence_v1.3.md
|
||||
- v1.2: papers/The_Computability_of_Recursive_Coherence_v1.2.md
|
||||
- v1.1: papers/The_Computability_of_Recursive_Coherence_v1.1.md
|
||||
- v1.0: papers/The_Computability_of_Recursive_Coherence_v1.0.md
|
||||
Reference in New Issue
Block a user