Merge pull request #52 from Xubuntu/dependabot/github_actions/JamesIv… #90
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 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 |