doc: Update link to 3_Expectation_value_of_observables.nblink #19
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
name: Documentation deployement | |
on: | |
pull_request_target: | |
types: | |
- closed | |
branches: | |
- main | |
jobs: | |
build_publish_docs: | |
# Deploy to cloudflare | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build Document | |
run: | | |
pip install -r requirements-dev.txt | |
touch .env | |
echo "SPHINX_GITHUB_CHANGELOG_TOKEN=${{secrets.DOC_GH_API_TOKEN}}" > .env | |
sphinx-build -b html docs build | |
- name: Publish | |
uses: cloudflare/pages-action@1 | |
with: | |
apiToken: ${{ secrets.PRD_CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.PRD_CLOUDFLARE_ACCOUNT_ID }} | |
projectName: mpqp | |
directory: build |