From: Thibault Godouet Date: Wed, 30 Aug 2023 13:58:09 +0000 (+0100) Subject: Create workflow to generate documentation. X-Git-Tag: ver3_3_2~12^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27b0f65cc0e5924bf2ae30d4e94b9d347792952a;p=thirdparty%2Ffcron.git Create workflow to generate documentation. --- diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml new file mode 100644 index 0000000..dde5168 --- /dev/null +++ b/.github/workflows/makefile.yml @@ -0,0 +1,34 @@ +name: Makefile CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: install dependencies + run: apt install docbook docbook-xsl docbook-xml docbook-util manpages-dev + + - name: configure + run: ./configure + + - name: Build the doc + run: make doc + + - name: Upload GitHub Pages artifact + uses: actions/upload-pages-artifact@v2.0.0 + with: + # Artifact name + #name: # optional, default is github-pages + # Path of the directory containing the static assets. + path: doc/en/HTML/ # default is _site/ + # Duration after which artifact will expire in days. + retention-days: 7 # optional, default is 1