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: