Comments (5)
Adding config before deploy worked for me
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Configure Pages
uses: actions/configure-pages@v4
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
from deploy-pages.
👋
You are using our latest deploy-pages
Actions (v4) which leverage the new Actions Artifact feature. Just try to also update upload-pages-artifact
to the latest (which is v3).
from deploy-pages.
I have the very same issue. v3 still works, v4 throws this error.
from deploy-pages.
Hmm, not sure if this is the solution, because that's what we had more or less (Just additionally actions/upload-pages-artifact@v2
between):
See https://github.com/jomjol/AI-on-the-edge-device/blob/rolling/.github/workflows/build.yaml#L421
from deploy-pages.
Check out these examples:
https://github.com/actions/starter-workflows/tree/main/pages
from deploy-pages.
Related Issues (20)
- Remove requirement for `actions: read` permission HOT 1
- Unhelpful Error HOT 5
- Page Deployment Failing Periodically with Timeouts since Upgrade to v4 HOT 1
- Getting "Fetching artifact metadata failed." HOT 3
- Confusing error when trying to deploy Rust docs HOT 7
- CNAME file doesn't work to set custom domain
- Deploy to another repository HOT 2
- GitHub Enterprise Server 3.11.5 compatibility HOT 6
- Deployment protection rules seem to be ignored HOT 1
- 502 error on github enterprise HOT 3
- More clarity on id-token: write HOT 11
- Artifact could not be deployed; no symlinks or hard links, small size HOT 1
- When the preview feature will be available HOT 3
- Allow deploy by artifact_id
- Problem in page deployment with vuejs vite to github page HOT 8
- Value 'github-pages' is not valid HOT 6
- Astro Site: Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB HOT 2
- Feature request: Partial upload/deploy
- [Bug] : Vite React Application Asset Build Not Coming HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy-pages.