Skip to content
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

chore: deploy website from CI #2

Merged
merged 2 commits into from
Nov 7, 2023
Merged

chore: deploy website from CI #2

merged 2 commits into from
Nov 7, 2023

Conversation

olizilla
Copy link
Contributor

@olizilla olizilla commented Nov 7, 2023

this will

  • deploy PRs and main to CF w3up-website-staging pages project. This is a new project. we can switch over the staging.web3.storage domain to this project.
  • deploy PRs and main to IPFS dnslink under staging.web3.storage
  • deploy prod to CF w3up-website page project. Another new project. We can switch over web3.storage domain to this project when ready.

it does not set the dnslink for web3.storage yet. We can add that when ready.

License: MIT

this will
- deploy PRs and main to CF `w3up-website-staging` pages project. This is a new project. we can switch over the `staging.web3.storage` domain to this project.
- deploy PRs and main to IPFS dnslink under staging.web3.storage
- deploy prod to CF `w3up-website` page project. Another new project. We can switch over `web3.storage` domain to this project when ready.

it does not set the dnslink for web3.storage yet. We can add that when ready.

License: MIT
Signed-off-by: Oli Evans <[email protected]>
License: MIT
Signed-off-by: Oli Evans <[email protected]>
Copy link
Contributor

github-actions bot commented Nov 7, 2023

Comment on lines +3 to +4
output: 'export',
images: { unoptimized: true },
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is required to make static export work. We just have to optimise our images ourselves.

@@ -25,19 +25,19 @@ const root = await client.uploadDirectory(files)
console.log(root.toString())
`.trim()

export function NavLink ({href, children}: {href:string, children: React.ReactNode}) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

next build does not like extraneous exports from a page. it expects a single default export only.

@olizilla olizilla merged commit 4952aa2 into main Nov 7, 2023
4 checks passed
@olizilla olizilla deleted the ci branch November 7, 2023 11:55
olizilla pushed a commit that referenced this pull request Nov 14, 2023
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2023-11-14)


### Features

* add banner linking to old site
([1fd9a44](1fd9a44))
* add specs link to sidebar
([#11](#11))
([ab2f048](ab2f048))
* adds pricing and features pages
([#4](#4))
([962cf3d](962cf3d))
* bones of the homepage 🦴
([bb7905e](bb7905e))
* docs in website! ([#5](#5))
([484e0c1](484e0c1))
* homepage gets nicer
([#1](#1))
([bd5fae8](bd5fae8))
* lint md in ci with remark
([#9](#9))
([22328cd](22328cd))
* pink first website header.
([#18](#18))
([37c7052](37c7052))
* price plans ([#6](#6))
([cefc492](cefc492))


### Bug Fixes

* broken links and copy
([#19](#19))
([c268748](c268748))
* rename plan from free to starter
([#16](#16))
([eb5b73e](eb5b73e))
* update footer links
([#14](#14))
([7f2ac1e](7f2ac1e))
* update meta for created and merged docs page
([#17](#17))
([c99f62c](c99f62c))


### Other Changes

* deploy website from CI
([#2](#2))
([4952aa2](4952aa2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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