From f8a68f4dc241c54d74837a8bb21ab4c405b6578d Mon Sep 17 00:00:00 2001 From: Isik <62180989+xbst@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:24:27 -0500 Subject: [PATCH 1/5] Update ci.yml --- .github/workflows/ci.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e96a34..e430145 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,26 +5,21 @@ on: - master - main permissions: - contents: write + contents: read + pages: write + id-token: write jobs: deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Configure Git Credentials - run: | - git config user.name github-actions[bot] - git config user.email 41898282+github-actions[bot]@users.noreply.github.com - - uses: actions/setup-python@v5 + - uses: actions/configure-pages@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v6 with: python-version: 3.x - - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v4 - with: - key: zensical-${{ env.cache_id }} - path: .cache - restore-keys: | - zensical- - run: pip install zensical - run: pip install ./extensions/pdf_embed - run: zensical build --clean @@ -32,4 +27,4 @@ jobs: with: path: site - uses: actions/deploy-pages@v5 - id: deployment \ No newline at end of file + id: deployment From 129ca363854b13b7c7e1b61f946cf9b1eb166f55 Mon Sep 17 00:00:00 2001 From: xbst <62180989+xbst@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:26:24 -0500 Subject: [PATCH 2/5] Revert "Update ci.yml" This reverts commit f8a68f4dc241c54d74837a8bb21ab4c405b6578d. --- .github/workflows/ci.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e430145..7e96a34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,21 +5,26 @@ on: - master - main permissions: - contents: read - pages: write - id-token: write + contents: write jobs: deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - uses: actions/configure-pages@v6 - - uses: actions/checkout@v7 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v4 + - name: Configure Git Credentials + run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com + - uses: actions/setup-python@v5 with: python-version: 3.x + - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV + - uses: actions/cache@v4 + with: + key: zensical-${{ env.cache_id }} + path: .cache + restore-keys: | + zensical- - run: pip install zensical - run: pip install ./extensions/pdf_embed - run: zensical build --clean @@ -27,4 +32,4 @@ jobs: with: path: site - uses: actions/deploy-pages@v5 - id: deployment + id: deployment \ No newline at end of file From 6ebdd068df530271172b40d7c8a2ecf401f0bd3a Mon Sep 17 00:00:00 2001 From: xbst <62180989+xbst@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:27:01 -0500 Subject: [PATCH 3/5] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e96a34..b06f597 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: - main permissions: contents: write + id-token: write jobs: deploy: runs-on: ubuntu-latest From 369292fcbfe7905122b5e4478b595ade514a3db6 Mon Sep 17 00:00:00 2001 From: xbst <62180989+xbst@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:27:52 -0500 Subject: [PATCH 4/5] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b06f597..4d55cf1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: - main permissions: contents: write + pages: write id-token: write jobs: deploy: From 5d44e35fc74abb48699ff13b859518e916e0d74e Mon Sep 17 00:00:00 2001 From: xbst <62180989+xbst@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:29:56 -0500 Subject: [PATCH 5/5] Update ci.yml --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d55cf1..f9d2e5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,11 +5,14 @@ on: - master - main permissions: - contents: write + contents: read pages: write id-token: write jobs: deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4