From 378b2f5264e505f50e239e668fd885c75b774f44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Iwanicki?= Date: Tue, 24 Sep 2024 11:44:15 +0200 Subject: [PATCH 1/2] workflows: build.yml: update upload/download artifacts to v4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Iwanicki --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03ac86ba0..0016daee2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,12 +33,13 @@ jobs: run: cd ${GITHUB_WORKSPACE}/scripts && bash build.sh - name: Save artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4.4.0 with: name: static-content path: | scripts/deploy.sh blog/public/ + include-hidden-files: true deploy: needs: [build] @@ -57,7 +58,7 @@ jobs: sudo apt-get install -y sshpass - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4.1.8 with: name: static-content From 42e74ea2a12fcbca88ed457e431c94547bb62da8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Iwanicki?= Date: Tue, 24 Sep 2024 11:45:41 +0200 Subject: [PATCH 2/2] workflows: update all actions to newest tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Iwanicki --- .github/workflows/build.yml | 2 +- .github/workflows/seo.yml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0016daee2..250a1abbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: echo "HUGO_URL=${HUGO_URL}" >> $GITHUB_ENV - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.7 with: fetch-depth: 1 diff --git a/.github/workflows/seo.yml b/.github/workflows/seo.yml index c7f7e7bc9..c1412d670 100644 --- a/.github/workflows/seo.yml +++ b/.github/workflows/seo.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4.1.7 - name: Test links uses: 3mdeb/lychee-log-action@main @@ -24,17 +24,17 @@ jobs: name: Check orphan pages steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.7 with: submodules: true - name: Checkout SEO Spy - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.7 with: repository: 3mdeb/seo-spy path: seo-spy - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5.2.0 with: python-version: '3.9' @@ -44,7 +44,7 @@ jobs: pip install -r seo-spy/requirements.txt - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3.0.0 with: extended: true @@ -64,12 +64,12 @@ jobs: name: Check canonical links steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.7 with: submodules: true - name: Checkout SEO Spy - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.7 with: repository: 3mdeb/seo-spy path: seo-spy @@ -84,7 +84,7 @@ jobs: pip install -r seo-spy/requirements.txt - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3.0.0 with: extended: true