use the resuable workflow #5
Workflow file for this run
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 building | |
on: | |
# Triggers the workflow on push but only for the main branch | |
push: | |
branches: [ workflow_trials ] | |
jobs: | |
call-cache: | |
uses: ./.github/workflows/cache_setup.yml | |
documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Export requirements.txt | |
run: poetry export --without-hashes --format=requirements.txt -o docs/requirements.txt -E docs -E notebook | |
# - name: Commit changes | |
# uses: EndBug/add-and-commit@v9 | |
# with: | |
# default_author: github_actions | |
# message: 'Updating requirements for docs' | |
# add: 'docs/requirements.txt' |