From 4b31617a03385cace7e03f85f95f7da9c6d9bed7 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Tue, 10 Dec 2024 15:02:01 +0100 Subject: [PATCH] Revert "chore: disable collection building for performance, fixes #258" This reverts commit 982b5780ee02626fc54c720894fe06275a895bb6. --- .github/workflows/docker.yml | 56 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a2b8501e7..d7d111488 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -45,35 +45,35 @@ jobs: agree-to-terms: true destination: artifact - # build-collection: - # runs-on: ubuntu-latest - # container: - # image: metanorma/metanorma:latest - # steps: - # - name: Checkout - # uses: actions/checkout@v4 - # with: - # submodules: true + build-collection: + runs-on: ubuntu-latest + container: + image: metanorma/metanorma:latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true - # - name: Setup Flavor - # uses: actions-mn/setup-flavors@v1 - # with: - # extra-flavors: plateau - # github-pakages-token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} - # use-bundler: true + - name: Setup Flavor + uses: actions-mn/setup-flavors@v1 + with: + extra-flavors: plateau + github-pakages-token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} + use-bundler: true - # - name: Print Metanorma version - # run: metanorma --version + - name: Print Metanorma version + run: metanorma --version - # - name: Generate Metanorma collection - # run: metanorma collection collection.yml --agree-to-terms + - name: Generate Metanorma collection + run: metanorma collection collection.yml --agree-to-terms - # - name: Upload collection artifacts - # uses: actions/upload-artifact@v4 - # with: - # name: collection - # path: | - # index.html - # *_index.html - # document*.html - # collection.presentation.xml + - name: Upload collection artifacts + uses: actions/upload-artifact@v4 + with: + name: collection + path: | + index.html + *_index.html + document*.html + collection.presentation.xml