chore: improve clarity in README (#95)

This commit is contained in:
oSumAtrIX 2023-06-29 14:12:02 +02:00 committed by GitHub
parent d65f29923b
commit aeb0d936a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ GitHub Action for creating Cloudflare Pages deployments, using the new [Direct U
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: YOUR_ACCOUNT_ID accountId: YOUR_ACCOUNT_ID
projectName: YOUR_PROJECT_NAME projectName: YOUR_PROJECT_NAME
directory: YOUR_ASSET_DIRECTORY directory: YOUR_BUILD_OUTPUT_DIRECTORY
# Optional: Enable this if you want to have GitHub Deployments triggered # Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }} gitHubToken: ${{ secrets.GITHUB_TOKEN }}
# Optional: Switch what branch you are publishing to. # Optional: Switch what branch you are publishing to.
@ -42,7 +42,7 @@ GitHub Action for creating Cloudflare Pages deployments, using the new [Direct U
wranglerVersion: '3' wranglerVersion: '3'
``` ```
1. Replace `YOUR_ACCOUNT_ID`, `YOUR_PROJECT_NAME` and `YOUR_ASSET_DIRECTORY` with the appropriate values to your Pages project. 1. Replace `YOUR_ACCOUNT_ID`, `YOUR_PROJECT_NAME` and `YOUR_BUILD_OUTPUT_DIRECTORY` with the appropriate values to your Pages project.
### Get account ID ### Get account ID
@ -87,7 +87,7 @@ You can use the newly released [Wrangler v3](https://blog.cloudflare.com/wrangle
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: YOUR_ACCOUNT_ID accountId: YOUR_ACCOUNT_ID
projectName: YOUR_PROJECT_NAME projectName: YOUR_PROJECT_NAME
directory: YOUR_ASSET_DIRECTORY directory: YOUR_BUILD_OUTPUT_DIRECTORY
# Enable Wrangler v3 # Enable Wrangler v3
wranglerVersion: '3' wranglerVersion: '3'
``` ```