Skip to content

[Workers] Dashboard instructions revision#8912

Merged
deadlypants1973 merged 6 commits intoproductionfrom
kate/fixes-wandpdash
May 17, 2023
Merged

[Workers] Dashboard instructions revision#8912
deadlypants1973 merged 6 commits intoproductionfrom
kate/fixes-wandpdash

Conversation

@deadlypants1973
Copy link
Contributor

@deadlypants1973 deadlypants1973 commented May 15, 2023

PCX-6609

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented May 15, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 42f156b
Status: ✅  Deploy successful!
Preview URL: https://c4392eef.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://kate-fixes-wandpdash.cloudflare-docs-7ou.pages.dev

View logs

@deadlypants1973 deadlypants1973 marked this pull request as ready for review May 15, 2023 18:42
1. Go back to the **Account Home** or use the drop-down menu at the top of the dashboard.
2. Select **Pages**.
3. Remove your project by selecting your **Pages project** > **Settings** > **Delete project**.
2. Select **Workers& Pages**.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Select **Workers& Pages**.
2. Select **Workers & Pages**.

After you have set up your `functions/_middleware.js` file in your project you are ready to deploy with Pages. Push your project changes to GitHub/GitLab.

After you have deployed your application, you will see your middleware Function in the Cloudflare dashboard under **Pages** > **Settings** > **Functions** > **Configuration**.
After you have deployed your application, you will see your middleware Function in the Cloudflare dashboard under **Workers & Pages** > select your Pages project > **Settings** > **Functions** > **Configuration**.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially out of scope for this PR, but the number of actions to select in this line is a little long. I think it might be helpful to start the Settings tab with a new sentence because it's technically a new page that has its own tabs. Might also be a good topic for Team Critique to discuss and decide as a team.

Then run `wrangler publish`.

To delete your Worker, log in to the [Cloudflare dashboard](https://dash.cloudflare.com) > **Workers** > your Worker > **Manage Service** > **Delete**. For complete instructions on set up and deletion, refer to the `README.md` in your cloned repository.
To delete your Worker, log in to the [Cloudflare dashboard](https://dash.cloudflare.com) > **Workers & Pages** > **Manage Service** > **Delete**. For complete instructions on set up and deletion, refer to the `README.md` in your cloned repository.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To delete your Worker, log in to the [Cloudflare dashboard](https://dash.cloudflare.com) > **Workers & Pages** > **Manage Service** > **Delete**. For complete instructions on set up and deletion, refer to the `README.md` in your cloned repository.
To delete your Worker, log in to the [Cloudflare dashboard](https://dash.cloudflare.com) > **Workers & Pages** > **Manage Service** > **Delete**. For complete instructions on set up and deletion, refer to the `README.md` in your cloned repository.

## Deploying with Cloudflare Pages

Deploy your site to Pages by logging in to the [Cloudflare dashboard](https://dash.cloudflare.com/) > **Account Home** > **Pages** and selecting **Create a project**. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
To deploy your site to Pages:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of a lot of the framework guides have a section about deploying to pages, you might consider using partials to make future updates to this section easier. (I realize this is likely out of scope for this PR but just a rec for the future. 🙂)

@deadlypants1973 deadlypants1973 merged commit 282a0b9 into production May 17, 2023
@deadlypants1973 deadlypants1973 deleted the kate/fixes-wandpdash branch May 17, 2023 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants