Hello @Nidhey Shah,
To make your Azure Static Web App deployment ready again after moving your repository to a GitHub organization, you will need to update the branch names in your app’s GitHub workflow. This involves modifying the on section of your workflow file to reflect the new branch you want to deploy from. For example:
on:
push:
branches:
- release
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- release
Additionally, if you need to reauthenticate the connection to Azure, you might have to reset the deployment token. This token is used to identify the application during deployment and is stored as a secret in your GitHub repository. To reset it, go to your Azure Static Web Apps site and select Manage deployment token on the Overview page, then select Reset token. After that, you will need to update the corresponding secret in your GitHub repository with the new token value.
If the Answer is helpful, please click Accept Answer and Up-Vote 👍, so that this can be beneficial to other community members.