Skip to content

Merge pull request #17 from pagopa/SRTP-170-generate-feature-doc #3

Merge pull request #17 from pagopa/SRTP-170-generate-feature-doc

Merge pull request #17 from pagopa/SRTP-170-generate-feature-doc #3

Workflow file for this run

name: Build Doc pages
on:
push:
branches:
- main
- SRTP-170-generate-feature-doc
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b #v5.3.0
with:
python-version: 3.x
- run: python3 --version
- name: Install dependencies
run: |
pip install --upgrade pip
pip install behave mkdocs-material
- name: Build Docs
run: |
python3 scenarios_parser.py --repo-name rtp-platform-qa --page-name "RTP platform QA" --root-dir bdd-tests
mkdocs build
- name: Upload to GitHub pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e #v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: site
destination_dir: docs
keep_files: true