From 3a5c86d26ff9217b837b4d21ebc79386972cf89c Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 22 Mar 2024 22:08:02 +0100 Subject: [PATCH] Update upload / deploy pages actions --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fdc1e0e..ec26649 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,7 @@ jobs: name: Build and deploy the site runs-on: ubuntu-latest permissions: + actions: read contents: read pages: write id-token: write @@ -34,9 +35,9 @@ jobs: ./zola build - name: Upload pages artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: public - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4