Skip to content

chore: definitive CI certification trigger #54

chore: definitive CI certification trigger

chore: definitive CI certification trigger #54

Workflow file for this run

name: LaTeX Build & Pages Deploy
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: Nexus-Resonance-Codex.tex
working_directory: docs/Nexus-Resonance-Codex-tex-files/
- name: Assemble deployment directory
run: |
mkdir -p public
# Ship the compiled PDF with existence check
find docs -name "*.pdf" -exec cp {} public/ \;
# Ship HTML viewer if present
cp docs/index.html public/ 2>/dev/null || true
# Add a simple redirect index if no HTML exists
if [ ! -f public/index.html ]; then
echo '<meta http-equiv="refresh" content="0; url=Nexus-Resonance-Codex.pdf">' > public/index.html
fi
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: public/
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4