From 3a97b4dee8a81cddef2706e49371c711177839b4 Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Sun, 2 Apr 2023 11:11:05 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Upgrade=20actions/setup-pyth?= =?UTF-8?q?on=20to=20v4=20from=20v3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💚 Remove actions/setup-python deprecation warning: > set-output command is deprecated and will be disabled soon --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 065bc7e..6de61e3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 with: python-version: 3.x - run: pip install -r requirements.txt From 72fd00e10964e38374bafa6056ea51da2b2afdfd Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Sun, 2 Apr 2023 11:07:40 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20Upgrade=20JamesIves/github-p?= =?UTF-8?q?ages-deploy-action=20to=20latest=20v4=20from=20v4.2.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 💚 Remove deprecation warnings when running publish.yml: - set-output command is deprecated See: https://github.com/JamesIves/github-pages-deploy-action/issues/1241 > Warning: The `set-output` command is deprecated and will be disabled > soon. Please upgrade to using Environment Files. For more information > https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands - Node.js 12 actions are deprecated > Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: JamesIves/github-pages-deploy-action@v4.2.5. > For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. - 💚 Add content write permission to publish.yml Github Action See: https://github.com/JamesIves/github-pages-deploy-action/issues/1285 --- .github/workflows/publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6de61e3..e71a2e1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,6 +13,8 @@ on: jobs: deploy: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -21,7 +23,7 @@ jobs: - run: pip install -r requirements.txt - run: mkdocs build - - uses: JamesIves/github-pages-deploy-action@v4.2.5 + - uses: JamesIves/github-pages-deploy-action@v4 with: - BRANCH: gh-pages - FOLDER: site + branch: gh-pages + folder: site