From 79e65dddd0e79ffc8b30891f737b3d3170d7679c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yuniel=20Acosta=20P=C3=A9rez?= <33158051+yacosta738@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:07:52 +0100 Subject: [PATCH 1/2] Update buildGithubPages.yml workflow with checkout v4 --- .github/workflows/buildGithubPages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildGithubPages.yml b/.github/workflows/buildGithubPages.yml index 42ccaae8..75a42aa4 100644 --- a/.github/workflows/buildGithubPages.yml +++ b/.github/workflows/buildGithubPages.yml @@ -7,7 +7,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # fetch everything so that mkdocs doesn't run into the missing refs problem - uses: actions/setup-python@v2 @@ -18,4 +18,4 @@ jobs: - run: pip install mkdocs-roamlinks-plugin - run: | cd .publish - mkdocs gh-deploy \ No newline at end of file + mkdocs gh-deploy From 5fcce0fecd7fb6a5bb96d7c1a9d2f426015be3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yuniel=20Acosta=20P=C3=A9rez?= <33158051+yacosta738@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:18:41 +0100 Subject: [PATCH 2/2] Update workflow dependencies Update all actions in this workflow --- .github/workflows/buildGithubPages.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildGithubPages.yml b/.github/workflows/buildGithubPages.yml index 75a42aa4..d7f2a258 100644 --- a/.github/workflows/buildGithubPages.yml +++ b/.github/workflows/buildGithubPages.yml @@ -3,6 +3,7 @@ on: push: branches: - master + - main jobs: deploy: runs-on: ubuntu-latest @@ -10,12 +11,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # fetch everything so that mkdocs doesn't run into the missing refs problem - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5.3.0 with: - python-version: 3.x + python-version: '3.x' - run: python .publish/prepareGithubPages.py - - run: pip install mkdocs-material=="8.*" + - run: pip install mkdocs-material=="9.5.49" - run: pip install mkdocs-roamlinks-plugin - run: | cd .publish - mkdocs gh-deploy + mkdocs gh-deploy