This is an automated email from the ASF dual-hosted git repository. jgemignani pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/age-website.git
The following commit(s) were added to refs/heads/master by this push: new 51452807 Update actions in build-documentation.yml (#349) 51452807 is described below commit 51452807c1e5e105e5095505fe333c039913bc72 Author: Muhammad Taha Naveed <m.taha.navee...@gmail.com> AuthorDate: Mon Sep 8 20:14:24 2025 +0500 Update actions in build-documentation.yml (#349) - Fixes CD issue reported here https://github.com/apache/age-website/actions/runs/17527933415 --- .github/workflows/build-documentation.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 5183b232..78cbc157 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -16,11 +16,11 @@ jobs: steps: - name: Checkout new-web branch - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: new-web - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} cache: 'yarn' @@ -29,7 +29,7 @@ jobs: - run: cp .asf.yaml ./public - name: Deploy web - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: asf-site @@ -37,7 +37,7 @@ jobs: destination_dir: ./ - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: master @@ -45,7 +45,7 @@ jobs: run: git fetch --all - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v6 with: python-version: '3.10' @@ -58,12 +58,13 @@ jobs: run: echo "::set-output name=dir::$(pip cache dir)" - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} restore-keys: | ${{ runner.os }}-pip- + - name: Install dependencies run: python3 -m pip install -r ./requirements.txt @@ -72,7 +73,7 @@ jobs: - run: cp ./index.html ./build/html - name: Deploy documentation - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: asf-site