Skip to content

IBM-I: add AS/400 name in the documentation of IBM-i integration #4622

IBM-I: add AS/400 name in the documentation of IBM-i integration

IBM-I: add AS/400 name in the documentation of IBM-i integration #4622

Workflow file for this run

name: Preview docs.sekoia.io
on:
pull_request:
jobs:
build:
name: Preview docs.sekoia.io
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.11'
- name: Make destination directory for compiled CSS
run: mkdir -vp docs/stylesheets/
- name: Compile CSS from SCSS files
uses: gha-utilities/[email protected]
with:
source: src/sekoiaio.scss
destination: docs/stylesheets/sekoiaio.css
- name: Install Poetry
run: |
pip install poetry
poetry config virtualenvs.in-project true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/[email protected]
with:
path: .venv
key: poetry-${{ runner.os }}-python${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
poetry-${{ runner.os }}-python${{ steps.setup-python.outputs.python-version }}
- name: Install dependencies
run: |
poetry install
- name: Build site
run: |
poetry run python -m mkdocs build
- name: Save PR number
run: |
echo ${{ github.event.number }} > ./site/.pr_number
- run: |
tar zcvf site.tar.gz -C site .
- uses: actions/upload-artifact@v3
with:
name: site.tar.gz
path: site.tar.gz