Open austinmilt opened 3 months ago
Use upload-pages-artifact
instead of upload-artifact
- name: Upload the web artifact
- uses: actions/upload-artifact@v4
+ uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: build/web
I'm trying to publish the Flutter default app (made with
flutter create
) to my repo's GitHub Pages. My workflow file is as follows:The build artifact is successfully uploaded and appears correct
This works up until
deploy-pages
which fails with errorArtifact could not be deployed. Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB.
I've confirmed there are no (file) links.
Debug logs (attached) logs_27310942169.zip do not give me more info.
I've seen examples of flutter web apps successfully publishing to GitHub Pages, so I have some confidence this should work. I'm wondering if there are some gotchas I'm missing, or if there's another way to debug this process.