Cannot deploy to oxygen
Closed this issue · 1 comments
dindonstudio commented
Hello I can build the site locally but when I try to build the example with github connected to my Hydrogen app on shopify i have this error.
Do you know what could be the issue ??
Run shopify/oxygenctl-action@v4
Run TOKEN="***"
Token is in V2 format
Run echo "Deploying to Oxygen..."
Deploying to Oxygen...
npm WARN exec The following package was not found and will be installed: @shopify/oxygen-cli@3.1.1
✔ Build initiated successfully with id gid://oxygen-hub/Build/150005.
> build
> turbo run build
• Packages in scope: @demo-ecommerce/sanity, storefront, studio
• Running build in 3 packages
• Remote caching disabled
storefront:build
studio:build
Tasks: 2 successful, 2 total
Cached: 0 cached, 2 total
Time: [32](https://github.com/dindonstudio/albertine/actions/runs/7308966176/job/19916105753#step:6:34).047s
Build failed with: Path not found: dist/worker, cancelling build.
Build with id gid://oxygen-hub/Build/150005 cancelled.
Path not found: dist/worker
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ EEXIT: 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Error: Process completed with exit code 1.
nkgentile commented
You may need to adjust the Github workflow file to add the correct path:
https://github.com/sanity-io/demo-ecommerce/blob/main/.github/workflows/oxygen-deployment-1000007465.yml#L45