You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build-and-push-prod workflow defined in miniyotas-deploy.yml runs successfully but fails to deploy to production. The issue appears to be related to a silent 401 Unauthorized error on the Deploy in production job, which indicates "Bad credentials." This error prevents the deployment process from completing as expected.
Error Message:
Run osscameroon/[email protected]
with:
service: miniyotas
type: compose
env: prod
patch-field: .services.webapp.image
patch-value: ghcr.io/osscameroon/miniyotas:db8bd945143d5b086a29b89f068d116519ee1aa9
file: miniyotas-prod-stack.yml
gh-token: ***
env:
REGISTRY: ghcr.io
IMAGE_NAME: osscameroon/miniyotas
Run set -e
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 365 100 109 100 256 608 1429 --:--:-- --:--:-- --:--:-- 2050
{
"message": "Bad credentials",
"documentation_url": "https://docs.github.com/rest",
"status": "401"
}
The build-and-push-prod workflow defined in
miniyotas-deploy.yml
runs successfully but fails to deploy to production. The issue appears to be related to a silent401 Unauthorized
error on the Deploy in production job, which indicates "Bad credentials." This error prevents the deployment process from completing as expected.Error Message:
Steps to Reproduce:
miniyotas-deploy.yml
.Deploy in production
jobs on the log and observe that the workflow completes successfully but does not deploy to production.401 Unauthorized
error.Expected Behavior:
The GitHub Actions workflow should authenticate successfully and complete the deployment to production without encountering a
401 Unauthorized
error.Possible Causes:
gh-token
) provided in the workflow might be invalid or expired.Proposed Solution:
repo
,write:packages
).Additional Context:
Action Items:
The text was updated successfully, but these errors were encountered: