Skip to content

Publish cert validation callback APIs and add documentation (#4161) #661

Publish cert validation callback APIs and add documentation (#4161)

Publish cert validation callback APIs and add documentation (#4161) #661

Workflow file for this run

---
name: s2n-tls Documentation
on:
push:
branches: [main]
pull_request:
branches: [main]
merge_group:
types: [checks_requested]
branches: [main]
jobs:
generate-doxygen:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Create Documentation
run: |
.github/s2n_doxygen.sh
- name: Upload documentation to action
# Upload the doxygen artifacts on pull requests to help reviewers easily
# view changes.
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
with:
name: s2n-tls-doxygen
path: |
docs/doxygen/output
- name: Deploy documentation to gh-pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
destination_dir: ./doxygen
publish_dir: ./docs/doxygen/output/html