New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pages/use direct upload with continuous integration #3
Pages/use direct upload with continuous integration #3
Conversation
… github.com:Ekwuno/cloudflare-docs into pages/use-direct-upload-with-continuous-integration
Deploying with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great! leaving a couple of comments from a first look
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Adam Janiš <adam.janis@gmail.com>
|
||
First log into the [Cloudflare dashboard](https://dash.cloudflare.com/profile/api-tokens) > **My Profile** > **API Tokens** > **Create Token** and under "Create Custom Token", select **Get started**. Start by naming the API Token, specify what product you are creating the API token for and give it the edit permission. In this case, select the "Account", "Cloudflare Pages" and "Edit": | ||
|
||
![Select API token for Cloudflare Pages](../media/select-api-token-for-pages.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is too much whitespace in this screenshot. This needs to be cropped to delete extra whitespace.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
On the CircleCI web app, go to your project's settings. You can navigate to "Projects" on the side navigation and click the ellipsis button in the project's row. You will see the option to add Environment variables: | ||
|
||
![project setting env var](../media/project-settings-env-var-v2.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment about whitespace. Needs to be cropped to delete whitespace.
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
``` | ||
|
||
|
||
## Generate API Token from Cloudflare |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Generate API Token from Cloudflare | |
## Generate an API token from Cloudflare |
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
|
||
Select **Environment Variables** > **Add Environment Variable** and enter the name and value of the new environment variable, which is your Cloudflare credentials (`CLOUDFLARE_ACCOUNT_ID` and `CLOUDFLARE_API_TOKEN`). | ||
|
||
### Setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is being set up here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep it consistent, let's call it "Set up a workflow"
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
content/pages/how-to/use-direct-upload-with-continuous-integration.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
No description provided.