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

feat: publish console to IPFS & Cloudflare from CI #287

Merged
merged 9 commits into from
Jan 25, 2023
Merged

Conversation

olizilla
Copy link
Contributor

@olizilla olizilla commented Jan 20, 2023

Adds CI workflow to publish console to IPFS via web3.storage and Cloudflare Pages.

  • fixes w3console build fails #291
  • PRs get a comment with the cloudflare dev url and an ipfs gateway url on.
  • merging PR to main updated dnslink for console.web3.storage and creates a prod deploy for the w3console project in cloudflare pages which should be configured to update the deployed site at console.web3.storage

This is an iteration on the way we deploy the website in the web3.storage repo, see: https://github.com/web3-storage/web3.storage/blob/c973e7e0b29bc2f1bc6da348cdd2f66b0e00b1a3/.github/workflows/website.yml#L197-L243

TODO:

  • figure out why w3console build is failing

License: MIT
Signed-off-by: Oli Evans oli@protocol.ai

Adds CI workflow to publish console to IPFS via web3.storage and Cloudflare Pages.

- PRs get a comment with the cloudflare dev url and an ipfs gateway url on.
- merging PR to main updated dnslink for console.web3.storage and creates a prod deploy for the w3console project in cloudflare pages which should be configured to update the deployed site at console.web3.storage

This is an iteration on the way we deploy the website in the web3.storage repo, see:
https://github.com/web3-storage/web3.storage/blob/c973e7e0b29bc2f1bc6da348cdd2f66b0e00b1a3/.github/workflows/website.yml#L197-L243

License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 20, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c4e7019:

Sandbox Source
@w3ui/example-react-file-upload Configuration
@w3ui/example-react-sign-up-in Configuration
@w3ui/example-react-uploads-list Configuration
@w3ui/example-solid-file-upload Configuration
@w3ui/example-solid-sign-up-in Configuration
@w3ui/example-solid-uploads-list Configuration
@w3ui/example-vue-file-upload Configuration
@w3ui/example-vue-sign-up-in Configuration
@w3ui/example-vue-uploads-list Configuration

@travis
Copy link
Member

travis commented Jan 21, 2023

this looks super cool. I haven't used most of this stuff, but would be excited to see this ship asap - probably good to get eyes from someone who's used some of these pieces before but as far as I'm concerned, :shipit: !

@olizilla olizilla mentioned this pull request Jan 24, 2023
fixes #291

License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
@olizilla olizilla added this to the w3up phase 2 milestone Jan 24, 2023
License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 24, 2023

License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
'preact/jsx-runtime': path.resolve(__dirname, './node_modules/preact/jsx-runtime')
}
}
})
Copy link
Member

Choose a reason for hiding this comment

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

😱

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool huh?

more context here #291

Copy link
Member

@travis travis left a comment

Choose a reason for hiding this comment

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

sweet - this all looks good to me!

@olizilla olizilla merged commit e2a833e into main Jan 25, 2023
@olizilla olizilla deleted the publish-2-web branch January 25, 2023 10:10
travis pushed a commit that referenced this pull request Mar 23, 2023
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2023-03-23)


### ⚠ BREAKING CHANGES

* use new account model
([#400](#400))

### Features

* add terms of service page
([#417](#417))
([6deb24d](6deb24d))
* adds space-finder autocomplete combobox
([#268](#268))
([3dcd647](3dcd647))
* allow users to set page size in W3APIProvider
([#308](#308))
([814a293](814a293))
* club tropical w3 auth boxen
([#350](#350))
([2266eb2](2266eb2))
* delegate access to spaces
([#293](#293))
([441d757](441d757))
* import a space into w3console
([#309](#309))
([a69a95b](a69a95b))
* Improve upload component flow
([#285](#285))
([ba9a3bf](ba9a3bf))
* publish console to IPFS & Cloudflare from CI
([#287](#287))
([e2a833e](e2a833e))
* Storybook story improvements
([#294](#294))
([e0de2cc](e0de2cc))
* use new account model
([#400](#400))
([66dd20b](66dd20b))
* w3console example app
([#255](#255))
([df08029](df08029))


### Bug Fixes

* add _headers ([#418](#418))
([4eb1da1](4eb1da1))
* fix w3console styling
([#320](#320))
([74a298c](74a298c))
* remove authenticator class when registed
([#352](#352))
([3668f3b](3668f3b))
* w3console polish
([#284](#284))
([9a67365](9a67365))

---
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.

w3console build fails
3 participants