From b3684550532664ac54627ec39bc6e76d3bd068b7 Mon Sep 17 00:00:00 2001 From: FedericoCalzoni Date: Fri, 31 May 2024 12:35:50 +0200 Subject: [PATCH] updated workflow --- .github/workflows/static.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 942a09e6..2d1a277d 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -30,26 +30,22 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache specific folders in images directory - uses: actions/cache@v3 + uses: actions/cache@v4 with: - path: | - images/21-07-23/ - images/22-07-23/ - images/24-07-23/ - images/25-07-23/ - key: ${{ runner.os }}-images-${{ hashFiles('images/21-07-23/**') }}-${{ hashFiles('images/22-07-23/**') }}-${{ hashFiles('images/24-07-23/**') }}-${{ hashFiles('images/26-07-23/**') }} + path: images/ + key: ${{ runner.os }}-images-${{ hashFiles('images/**') }}-${{ hashFiles('images/*') }} # Add more steps here if needed for your workflow - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: # Upload entire repository path: '.' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4