-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment failing due to "Failed to upload secrets" #240
Comments
Hey 👋
|
Any news on this? I also can't make the Here's my code: - name: Deploy to Cloudflare
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: ./apps/api/
packageManager: bun
environment: production
quit: false
secrets: |
RESEND_API_KEY
env:
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} And the result is always the same:
|
Thanks Nick, reverting to
The logs seem to indicate
It's not clear to me why the |
Happening to me as well. In my case, deleting the worker and creating it again fixed the issue. I was able to break it again by manually adding variables within Cloudflare Dashboard, anything random like
Deleting again the manually added value allowed me to deploy again successfully, so my suspicion is any discrepancy with the variables in the dashboard and the Action file are the cause of the issue. |
I just migrated to wrangler-action v3 and this started happening to me. It fails every time I run it.
Here's my workflow file:
I ran it in debug mode, but didn't see any useful logging
![image](https://private-user-images.githubusercontent.com/1226564/310067084-b3c81c26-c64e-4486-9483-c75f11f90e2c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyMDExNTgsIm5iZiI6MTcyMDIwMDg1OCwicGF0aCI6Ii8xMjI2NTY0LzMxMDA2NzA4NC1iM2M4MWMyNi1jNjRlLTQ0ODYtOTQ4My1jNzVmMTFmOTBlMmMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDVUMTczNDE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjYwZDQ1YmFiZTU5M2FjMTlkMDM4NDhlNzM3MjI1OGI2Njk1MTEzMTVjNjgyMjJlMzk5ODFjZTFjYmJkNTFkNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.e-y_IoqajPUa9tPPSve5iJh435XE1P67vnSnb8OVnZs)
I tried pinning
wranglerVersion
to the one in my package.json, but that didn't change anything.The text was updated successfully, but these errors were encountered: