ci: Add missing credentials to sqlcmd invocation #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# GHA workflow to build documentation and deploy with website in gh-pages branch | |
name: "Documentation" | |
on: | |
push: | |
branches: | |
- main | |
- gh-pages | |
paths: | |
- 'doc/**' | |
- 'nanodbc/**' | |
pull_request: | |
paths: | |
- 'doc/**' | |
- 'nanodbc/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
- name: Install Doxygen | |
run: sudo apt-get update -y && sudo apt-get install -y doxygen | |
- name: Install Python | |
uses: actions/setup-python@v3 | |
- name: Install Sphinx | |
run: pip install -r doc/requirements.txt | |
- name: Build Documentation | |
run: make html | |
working-directory: ./doc | |
# TODO: Parse warnings | |
# TODO: Deploy to gh-pages without removing existing folders with docs of historical releases |