From 3f9b7a9942b853dbf31163962d994025c746e9ad Mon Sep 17 00:00:00 2001 From: gbhrdt Date: Mon, 15 Jul 2024 18:28:27 +0200 Subject: [PATCH] Deploy gh pages --- .github/workflows/deploy.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 08b72472..f521f5c6 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -9,6 +9,9 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest + permissions: + pages: write + id-token: write steps: - name: Checkout SDK uses: actions/checkout@v3 @@ -29,14 +32,14 @@ jobs: npm i npm run build - 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: path: website/build/cleverpush-developer-docs - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 - name: Notify slack fail if: failure() env: