From 38cce476d781fe2095c1cb281466590e2899a3a1 Mon Sep 17 00:00:00 2001 From: Jack Gerrits Date: Fri, 27 Sep 2024 15:24:23 -0400 Subject: [PATCH] Deploy website using action instead of branch (#3578) --- .github/workflows/deploy-website.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 8798fca7ca66..ca4f94bd58dd 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -113,9 +113,10 @@ jobs: npm i --legacy-peer-deps npm run build fi - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - # Build output to publish to the `gh-pages` branch: - publish_dir: ./website/build + path: "website/build" + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4