Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoCalzoni committed May 31, 2024
1 parent dcd11dd commit b368455
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


0 comments on commit b368455

Please sign in to comment.