Skip to content

Commit

Permalink
Merge pull request #22 from nolte/fix/mkdocs-release-build
Browse files Browse the repository at this point in the history
add requirements default path
  • Loading branch information
nolte authored Dec 26, 2021
2 parents 2c2b928 + 209a0bc commit 4bd7b8c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/reuseable-mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Release Deliver Docs

on:
workflow_call:
inputs:
requirements:
description: 'path of the requirements dependencies file'
required: false
default: "./requirements-dev.txt"
type: string
secrets:
token:
required: true
Expand All @@ -14,8 +20,8 @@ jobs:
- name: Checkout master
uses: actions/checkout@v2.4.0

# TODO add feature toogle for mkdocs and hugo
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@1.24
env:
token: ${{ secrets.token }}
GITHUB_TOKEN: ${{ secrets.token }}
REQUIREMENTS: ${{ inputs.requirements }}

0 comments on commit 4bd7b8c

Please sign in to comment.