pages-action deployment fails since 7 hrs on github-actions

Since 7 hours, our github pages-action fails to deploy on our environments - error is very cryptic and seems internal to wrangler.

[WARNING] wrangler pages publish is deprecated and will be removed in the next major version.

Please use
wrangler pages deploy
instead, which accepts exactly the same arguments.


[WARNING] Warning: Your working directory is a git repo and has uncommitted changes

To silence this warning, pass in --commit-dirty=true



[ERROR] ENOENT: no such file or directory, scandir '/home/runner/work/.mono/.mono/apps/alpha-nuxt/dist'


If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
? Would you like to report this error to Cloudflare?
🤖 Using fallback value in non-interactive context: no
🪵 Logs were written to "/home/runner/.config/.wrangler/logs/wrangler-2024-07-02_12-31-01_630.log"
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice To update run: npm install -g npm@10.8.1
npm notice
EXIT WHEN NOT EXPECTED

SHELLAC COMMAND FAILED!
Executing: npx wrangler@3 pages publish "apps/alpha-nuxt/dist" --project-name="alpha" --branch="staging" in /home/runner/work/.mono/.mono

STDOUT:


If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
? Would you like to report this error to Cloudflare?
🤖 Using fallback value in non-interactive context: no


STDERR:

[WARNING] wrangler pages publish is deprecated and will be removed in the next major version.

Please use
wrangler pages deploy
instead, which accepts exactly the same arguments.


[WARNING] Warning: Your working directory is a git repo and has uncommitted changes

To silence this warning, pass in --commit-dirty=true


[ERROR] ENOENT: no such file or directory, scandir '/home/runner/work/.mono/.mono/apps/alpha-nuxt/dist'


🪵 Logs were written to "/home/runner/.config/.wrangler/logs/wrangler-2024-07-02_12-31-01_630.log"
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice To update run: npm install -g npm@10.8.1
npm notice


node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Object>".] {
code: 'ERR_UNHANDLED_REJECTION'
}


Our yml config:
  • name: Publish Alpha to Pages
    uses: cloudflare/pages-action@v1.5.0
    with:
    apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
    accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
    projectName: "alpha" # e.g. 'my-project'
    directory: "apps/alpha-nuxt/dist" # e.g. 'dist'
    gitHubToken: ${{ secrets.GH_TOKEN }}
    wranglerVersion: '3'
    branch: staging
GitHub
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
GitHub
10.8.1 (2024-05-29)
Bug Fixes

6b55646 #7569 exec: look in workspace and root for bin entries (#7569) (@wraithgar)
e4c7a41 #7564 publish: skip workspace packages marked private on publish (#7564) (...
Was this page helpful?