3. Create a GitHub Repo
LAB SCENARIO
Working as part of the PrioritZ fusion team you will be configuring GitHub Actions using the Power Platform Build Tools to automate the teamβs deployments.
In Exercise 3 you will create a GitHub repository and add repository secrets.
Important
You will need GitHub account in this lab
3.1 Create Repositoryβ
- Navigate to GitHub
- Sign in or signup for GitHub.
- π New repository. Enter PrioritZ for Repository name, select Public, check the Add a README file, and click Create repository.
- π Settings. Go to the Security section, expand Secrets and select Actions.
Important
The values you provide will not be visible after you create the item so take your time to get the values correct.
3.2 Create Repo Secretβ
- π New repository secret. π PowerPlatformAppID for Name and paste the Application (client) ID from your notepad in the Value field and click Add secret.
- π New repository secret again. π PowerPlatformClientSecret for Name and paste the secret Value from your notepad in the Value field and click Add secret.
- π New repository secret again. π PowerPlatformTenantID for Name and paste the secret Tenant ID from your notepad in the Value field and click Add secret.
- π New repository secret again. π PowerPlatformDevUrl for Name and paste the secret Dev environment URL from your notepad in the Value field and click Add secret.
- π New repository secret one more time. π PowerPlatformTestUrl for Name and paste the secret Test environment URL from your notepad in the Value field and click Add secret.
Note
You should now have 5 repository secrets.
3.3 Manage Permissionβ
On the left navigation in the Code and Automation section expand Actions and select General.
Scroll down to the Workflow Permissions section. π Read and write permissions. π Save
Note
Do not navigate away from this page.