From 1a19e0e8e8eab4a3a522a5f97141dc99312f4bb0 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Wed, 11 Nov 2026 10:18:25 +0800 Subject: [PATCH] Sync CI files: automerge stub conversion (ci#379), TP-default release template (ci#416), template drift request-checks: true --- .github/workflows/docker.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 2eb8707..d63c605 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -9,10 +9,10 @@ on: workflow_dispatch: permissions: - pull-requests: write - contents: write + contents: read pages: write id-token: write + packages: read concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} @@ -29,19 +29,15 @@ jobs: with: submodules: true + - name: Setup Flavor + uses: actions-mn/setup-flavors@main + with: + extra-flavors: + github-packages-token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} + use-bundler: true + - name: Metanorma generate site - id: build-and-publish uses: actions-mn/build-and-publish@main with: - token: ${{ secrets.GITHUB_TOKEN }} agree-to-terms: true destination: artifact - - deploy: - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - uses: actions-mn/deploy-pages@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }}