fix: update GitHub Pages actions to v4 for better deployment reliability
- Update actions/upload-pages-artifact from v3 to v4 - Update actions/deploy-pages from v3 to v4 - This should resolve the deployment metadata lookup issue
This commit is contained in:
4
.github/workflows/deploy-storybook.yml
vendored
4
.github/workflows/deploy-storybook.yml
vendored
@@ -190,11 +190,11 @@ jobs:
|
||||
|
||||
- name: Upload artifact
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
uses: actions/upload-pages-artifact@v4
|
||||
with:
|
||||
path: ./pages
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
if: github.ref == 'refs/heads/main'
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v3
|
||||
uses: actions/deploy-pages@v4
|
||||
Reference in New Issue
Block a user