Skip to content

[OU-ADD] point_of_sale #93

[OU-ADD] point_of_sale

[OU-ADD] point_of_sale #93

# On each push in 16.0 branch,
# AND if the coverage file changed,
# build documentation branch and commit the changes
# so that the changes are visible on the website
# https://oca.github.io/OpenUpgrade/
name: Build and commit documentation
on:
push:
paths: ["docsource/modules150-160.rst"]
jobs:
documentation-commit:
runs-on: ubuntu-latest
steps:
- name: Check out OpenUpgrade Documentation
uses: actions/checkout@v2
with:
ref: "documentation"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Check out Odoo
uses: actions/checkout@v2
with:
repository: odoo/odoo
ref: "16.0"
fetch-depth: 1
path: odoo
- name: Configuration
run: |
sudo apt update
sudo apt install \
expect \
expect-dev \
libevent-dev \
libldap2-dev \
libsasl2-dev \
libxml2-dev \
libxslt1-dev \
nodejs \
python3-lxml \
python3-passlib \
python3-psycopg2 \
python3-serial \
python3-simplejson \
python3-werkzeug \
python3-yaml \
unixodbc-dev
- name: Requirements Installation
run: |
pip install -q -r odoo/requirements.txt
pip install -r ./requirements.txt
- name: OpenUpgrade Docs
run: |
# try to build the documentation
sh ./build_openupgrade_docs
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
add: "docs"
default_author: github_actions
message: "[UPD] HTML documentation"