From 3ab9c294ae147832d3517a9feb47ad909217cb33 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Sun, 5 Jul 2026 02:34:58 +1000 Subject: [PATCH] Cimas sync 2026-07-05: propagate #300 gaps + accumulated template drift request-checks: true --- .github/workflows/docker.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 0d6c309..2eb8707 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -9,7 +9,8 @@ on: workflow_dispatch: permissions: - contents: read + pull-requests: write + contents: write pages: write id-token: write @@ -20,31 +21,27 @@ concurrency: jobs: build: runs-on: ubuntu-latest - outputs: - deploy-gh-pages: ${{ steps.build-and-publish.outputs.gh-pages-enabled }} container: image: metanorma/metanorma:latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: submodules: true - name: Metanorma generate site id: build-and-publish - uses: actions-mn/build-and-publish@v1 + uses: actions-mn/build-and-publish@main with: token: ${{ secrets.GITHUB_TOKEN }} agree-to-terms: true + destination: artifact deploy: - if: ${{ needs.build.deploy-gh-pages == 'true' && github.ref_name == github.event.repository.default_branch }} - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build steps: - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 + uses: actions-mn/deploy-pages@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}