Skip to content

trying to fix docc generation #10

trying to fix docc generation

trying to fix docc generation #10

Workflow file for this run

name: DocC Runner
on:
push:
branches: ["main"]
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
# A single job that builds and deploys the DocC documentation
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build DocC
run: |
make generate-docs
echo "<script>window.location.href += \"/documentation/bedrockservice\"</script>" > docs/index.html;
- name: Sanity Check
run: |
echo "Checking for required static assets..."
find ./docs -name "*.css" -o -name "*.js" -o -name "favicon*" | head -10
ls -la ./docs/
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: 'docs'
- id: deployment
name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4