Skip to content

try to fix doc publication #6

try to fix doc publication

try to fix doc publication #6

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
touch docs/.nojekyll
echo "<script>window.location.href += \"/documentation/bedrockservice\"</script>" > docs/index.html;
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: 'docs'
- id: deployment
name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4