Skip to content

Commit 3e47fcf

Browse files
Copilotsinedied
andcommitted
Add documentation for configuring CI/CD after forking
Co-authored-by: sinedied <[email protected]>
1 parent 5876c19 commit 3e47fcf

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/readme.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ You can run this project directly in your browser by using GitHub Codespaces, wh
5959
![Screenshot showing how to create a new codespace](./images/codespaces.png)
6060
3. Wait for the Codespace to be created, it should take a few minutes.
6161

62+
## Enable CI/CD (Optional)
63+
64+
If you want to enable Continuous Deployment for your forked repository, you need to configure the Azure pipeline first:
65+
66+
1. Make sure you have the [Azure Developer CLI](https://aka.ms/azure-dev/install) installed.
67+
2. Open a terminal at the root of your forked project.
68+
3. Authenticate with Azure by running `azd auth login`.
69+
4. Run `azd pipeline config` to configure the required secrets and variables for connecting to Azure from GitHub Actions.
70+
- This command will set up the necessary Azure service principal and configure GitHub repository secrets.
71+
- Follow the prompts to complete the configuration.
72+
73+
Once configured, the GitHub Actions workflow will automatically deploy your application to Azure whenever you push changes to the main branch.
74+
6275
## Deploy on Azure
6376

6477
1. Open a terminal at the root of the project.

0 commit comments

Comments
 (0)