IBX-8916: Updates in User documentation #1156
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: 'Build & test documentation' | |
on: | |
push: | |
branches: | |
- master | |
- '[0-9]+.[0-9]+' | |
pull_request: ~ | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Run build | |
run: | | |
mkdocs build --strict | |
vale-check: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get Vale.sh configs | |
env: | |
TOKEN: ${{ secrets.EZROBOT_PAT }} | |
run: | | |
curl -H "Authorization: token $TOKEN" -L https://github.com/ibexa/vale-styles/archive/refs/heads/main.zip -o vale.zip | |
unzip vale.zip | |
rm vale.zip | |
mv vale-styles-main/* vale-styles-main/.vale.ini . | |
- name: Run Vale.sh | |
uses: errata-ai/vale-action@reviewdog | |
with: | |
reporter: github-check | |
filter_mode: added |