Skip to content

A programming framework for agentic AI

Deploy website using action instead of branch (#3578)

Jack Gerrits38cce476d781
diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml
index 8798fca7c..ca4f94bd5 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