Open TheBaljitSingh opened 2 years ago
Hi @TheBaljitSingh we were unable to find a Static Web App with your default hostname (thankful-coast-027d2d910). Is it possible that it somehow got deleted? This could explain why your deployment is failing.
Im experiencing this issue too, what's the solution please?
Describe the bug i am unable to deploy my static website using vs code . `##[debug]Evaluating condition for step: 'Build And Deploy'
[debug]Evaluating: success()
[debug]Evaluating success:
[debug]=> true
[debug]Result: true
[debug]Starting: Build And Deploy
[debug]Loading inputs
[debug]Evaluating: secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_THANKFUL_COAST_027D2D910
[debug]Evaluating Index:
[debug]..Evaluating secrets:
[debug]..=> Object
[debug]..Evaluating String:
[debug]..=> 'AZURE_STATIC_WEB_APPS_API_TOKEN_THANKFUL_COAST_027D2D910'
[debug]=> '***'
[debug]Result: '***'
[debug]Evaluating: secrets.GITHUB_TOKEN
[debug]Evaluating Index:
[debug]..Evaluating secrets:
[debug]..=> Object
[debug]..Evaluating String:
[debug]..=> 'GITHUB_TOKEN'
[debug]=> '***'
[debug]Result: '***'
[debug]Loading env
Run Azure/static-web-apps-deploy@v1 /usr/bin/docker run --name eecb5efa07d1741fe88533962555c9595_ac45ec --label 72882e --workdir /github/workspace --rm -e INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN -e INPUT_REPO_TOKEN -e INPUT_ACTION -e INPUT_APP_LOCATION -e INPUT_API_LOCATION -e INPUT_OUTPUT_LOCATION -e INPUT_API_BUILD_COMMAND -e INPUT_APP_ARTIFACT_LOCATION -e INPUT_APP_BUILD_COMMAND -e INPUT_ROUTES_LOCATION -e INPUT_SKIP_APP_BUILD -e INPUT_CONFIG_FILE_LOCATION -e INPUT_SKIP_API_BUILD -e INPUT_PRODUCTION_BRANCH -e INPUT_DEPLOYMENT_ENVIRONMENT -e INPUT_IS_STATIC_EXPORT -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_DEBUG -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/portfolio-website/portfolio-website":"/github/workspace" 72882e:ecb5efa07d1741fe88533962555c9595 DeploymentId: 075aa8e9-45e3-44ed-8acf-fbdb37c29a7e App Directory Location: '/' was found. No Api directory specified. Azure Functions will not be created. Looking for event info The content server has rejected the request with: BadRequest Reason: No matching Static Web App was found or the api key was invalid. For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/ If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/ Exiting
[debug]Docker Action run completed with exit code 1
[debug]Finishing: Build And Deploy`
A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Device info (if applicable):
Additional context Add any other context about the problem here.