Skip to content

Merge pull request #52 from Xubuntu/dependabot/github_actions/JamesIv… #90

Merge pull request #52 from Xubuntu/dependabot/github_actions/JamesIv…

Merge pull request #52 from Xubuntu/dependabot/github_actions/JamesIv… #90

name: Build and Deploy
on:
push:
branches: [ master, docs-refresh ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt update
sudo apt install ubuntu-dev-tools default-jre docbook-xml docbook-xsl fonts-dejavu-core fonts-noto fop itstool libxml2-utils xsltproc
- name: Build HTML docs
run: |
make clean
make user-get-translations
make contributor-get-translations TRANSPERC=20
make user-html
make user-html-translations
make contributor-html
make contributor-html-translations TRANSPERC=20
make startpage REVNO=${GITHUB_SHA::7}
make test
make
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build