Skip to content

Commit

Permalink
chore: remove console (#588)
Browse files Browse the repository at this point in the history
Console moved to https://github.com/web3-storage/console

w3ui is currently publishing an old version of console to staging @
https://staging.console.web3.storage/
  • Loading branch information
Alan Shaw authored Nov 22, 2023
1 parent 23d08e2 commit 6f0e626
Show file tree
Hide file tree
Showing 7 changed files with 208 additions and 315 deletions.
80 changes: 0 additions & 80 deletions .github/actions/preview/action.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
strategy:
matrix:
path_released: ${{fromJson(needs.release.outputs.paths_released)}}
exclude:
- path_released: examples/react/w3console
steps:
- uses: actions/checkout@v3
if: ${{matrix.path_released != ''}}
Expand All @@ -44,68 +42,3 @@ jobs:
pnpm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-w3console-staging:
name: Publish w3console staging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/pnpm
- name: Build staging.console.web3.storage
run: pnpm build
working-directory: examples/react/w3console
env:
VITE_W3UP_PROVIDER: did:web:staging.web3.storage
VITE_W3UP_SERVICE_URL: 'https://staging.up.web3.storage'
VITE_W3UP_SERVICE_DID: 'did:web:staging.web3.storage'
VITE_W3UP_SERVICE_BRAND_NAME: 'staging.web3.storage'
- name: Publish staging.console.web3.storage
uses: ./.github/actions/preview
with:
path_to_add: examples/react/w3console/dist
web3_token: ${{ secrets.WEB3_TOKEN }}
cf_pages_project: console-web3-storage-staging
cf_account_id: ${{ secrets.CF_ACCOUNT_ID }}
cf_token: ${{ secrets.CF_TOKEN }}

publish-w3console-production:
name: Publish w3console production
needs: release
if: contains(fromJson(needs.release.outputs.paths_released), 'examples/react/w3console')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/pnpm
- name: Build console.web3.storage
run: pnpm build
working-directory: examples/react/w3console
env:
VITE_W3UP_PROVIDER: did:web:web3.storage
VITE_W3UP_SERVICE_BRAND_NAME: 'web3.storage'
- name: Publish console.web3.storage
uses: ./.github/actions/preview
with:
path_to_add: examples/react/w3console/dist
web3_token: ${{ secrets.WEB3_TOKEN }}
dnslink_record: beta.console
dnslink_domain: web3.storage
cf_pages_project: console-web3-storage
cf_account_id: ${{ secrets.CF_ACCOUNT_ID }}
cf_token: ${{ secrets.CF_TOKEN }}
- name: Build console.nft.storage
run: pnpm build
working-directory: examples/react/w3console
env:
VITE_W3UP_PROVIDER: did:web:nft.storage
VITE_W3UP_SERVICE_BRAND_NAME: 'NFT.Storage'
VITE_W3UP_GATEWAY_HOST: nftstorage.link
- name: Publish console.nft.storage
uses: ./.github/actions/preview
with:
path_to_add: examples/react/w3console/dist
web3_token: ${{ secrets.WEB3_TOKEN }}
dnslink_record: beta.console
dnslink_domain: nft.storage
cf_pages_project: console-nft-storage
cf_account_id: ${{ secrets.CF_ACCOUNT_ID }}
cf_token: ${{ secrets.CF_TOKEN }}
54 changes: 0 additions & 54 deletions .github/workflows/w3console.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@
"packages/solid-keyring": "6.0.0",
"packages/solid-uploader": "6.0.0",
"packages/solid-uploads-list": "5.0.0",
"examples/react/w3console": "2.0.1"
}
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ This repo contains reusauble UI modules for the web3.storage w3up beta in your f

A demo of the list of uploads that have been made to an account.

## w3console

To run w3console, a full-featured console for web3.storage and demonstration of our React components, run:

```bash
cd examples/react/w3console
pnpm start
```

## Contributing

Feel free to join in. All welcome. Please read our [contributing guidelines](https://github.com/web3-storage/w3ui/blob/main/CONTRIBUTING.md) and/or [open an issue](https://github.com/web3-storage/w3ui/issues)!
Expand Down
Loading

0 comments on commit 6f0e626

Please sign in to comment.