Skip to content

create reusable workflow and reuse it #1

create reusable workflow and reuse it

create reusable workflow and reuse it #1

Workflow file for this run

name: documentation building
on:
# Triggers the workflow on push but only for the main branch
push:
branches: [ workflow_trials ]
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- name: cache
uses: ./.github/workflows/cache_setup.yml
- 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'