From eec3311c92378979dfdf3471e004d99fb8cbc6ce Mon Sep 17 00:00:00 2001 From: Sjur N Moshagen Date: Thu, 22 Apr 2021 12:23:39 +0300 Subject: [PATCH] [Template merge] Add GH Pages publishing workflow --- .github/workflows/docsygen.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/docsygen.yml diff --git a/.github/workflows/docsygen.yml b/.github/workflows/docsygen.yml new file mode 100644 index 00000000..241ee70d --- /dev/null +++ b/.github/workflows/docsygen.yml @@ -0,0 +1,32 @@ +name: Build in-code documentation +on: [push] +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + repository: giellalt/giella-core + path: giella-core + - uses: actions/checkout@v2 + with: + repository: giellalt/giella-shared + path: giella-shared + - uses: actions/checkout@v2 + with: + path: lang + - name: Install dev dependencies + uses: divvun/actions/lang/install-deps@master + with: + sudo: true + - name: Build giella-core/giella-shared + uses: divvun/actions/lang/build@master + with: + spellers: false + fst: hfst + - name: deploy gh pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: lang/docs/ + enable_jekyll: true