- Go to
Workers & Pages in CloudFlare account. (Left side nav under Compute (Workers))
- Click
Create. Then Pages.
- Click
Connect to Git.
- Click
Add account.
- Choose the account in which the repo was creating when going through 1-Setting up Vault and Repo.
- Under
Repository access, choose Only select repositories and select the repo that was created previously.
- Click
Save.
- Back in CloudFlare, select the account and repository. Then click
Begin setup.
- Set
Project name.
- Choose
main for the Production branch.
- Set
Framework present to None.
- Set
Build command to npm run build
- Set
Build output directory to dist.
- Click
Save and Deploy.