mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-07-30 02:27:43 +00:00
86fe32a682
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat> Co-authored-by: Warp <agent@warp.dev>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
name: Deploy Docsify to GitHub Pages
|
|
|
|
on:
|
|
#push:
|
|
# branches: ["main"]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Pages
|
|
uses: actions/configure-pages@v5
|
|
with:
|
|
# Explicitly disable Jekyll
|
|
enabler_jekyll: false
|
|
|
|
- name: List files (Debug)
|
|
run: ls -R
|
|
|
|
- name: Ensure .nojekyll exists in root
|
|
run: |
|
|
if [ ! -f .nojekyll ]; then
|
|
echo "Creating .nojekyll file"
|
|
touch .nojekyll
|
|
else
|
|
echo ".nojekyll already exists"
|
|
fi
|
|
ls -la .nojekyll
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
# Upload entire repository so Docsify can access 'lib/' and other root files
|
|
path: '.'
|
|
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v4 |