Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions .github/workflows/deploy-docs.yaml

This file was deleted.

39 changes: 1 addition & 38 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,41 +58,4 @@ jobs:
- name: Run tests
run: |
cd build
CTEST_OUTPUT_ON_FAILURE=1 ctest --verbose

# Deploy documentation to GitHub Pages (only on master branch after successful tests)
deploy-docs:
name: Deploy Documentation
runs-on: ubuntu-latest
needs: test-build
if: github.ref == 'refs/heads/master' && github.event_name == 'push'

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload documentation artifacts
uses: actions/upload-pages-artifact@v3
with:
path: './docs'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3

- name: Output deployment info
run: |
echo "Documentation deployment completed!"
echo "Available at: ${{ steps.deployment.outputs.page_url }}"
CTEST_OUTPUT_ON_FAILURE=1 ctest --verbose
51 changes: 0 additions & 51 deletions .github/workflows/test_build.yaml

This file was deleted.