Skip to content

Commit

Permalink
Merge pull request #1329 from decent-dao/fix/remove-ipfs-release
Browse files Browse the repository at this point in the history
Remove ipfs release
  • Loading branch information
mudrila authored Jan 23, 2024
2 parents 93453fa + 84a54a4 commit 97f0ae2
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 280 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/release-ipfs-dev.yaml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/release-ipfs-prod.yaml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/release-ipfs-staging.yaml

This file was deleted.

16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,15 @@ Test results for each test on each browser type will be output into the `/playwr

## Deployment Notes

The "dev", "staging", and "prod" environments of this app are currently deployed via both Netlify and IPFS (see the Github workflow files).
The "dev", "staging", and "prod" environments of this app are currently deployed via Netlify.

The "dev" environment tracks the `develop` branch, "staging" tracks `staging`, and the "prod" environment tracks the `main` branch. The "dev", "staging", and "prod" Github environments are where custom environment variables are configured.

So at any given time, there are effectively six builds out there, and they are publicly accessible and privately configurable within Github:
So at any given time, there are effectively three builds out there, and they are publicly accessible and privately configurable within Github:

1. dev site via Netlify
1. dev site
- url: https://app.dev.fractalframework.xyz
1. dev [site via IPFS](./docs/IPFS_HOSTING.md)
- url: http://app.dev.fractalframework.xyz.ipns.localhost:8080/
1. staging site via Netlify
2. staging site
- url: https://app.staging.fractalframework.xyz
1. staging [site via IPFS](./docs/IPFS_HOSTING.md)
- url: http://app.staging.fractalframework.xyz.ipns.localhost:8080/
1. prod site via Netlify
3. prod site
- url: https://app.fractalframework.xyz
1. prod [site via IPFS](./docs/IPFS_HOSTING.md)
- url: http://app.fractalframework.xyz.ipns.localhost:8080/
21 changes: 0 additions & 21 deletions docs/IPFS_HOSTING.md

This file was deleted.

1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/** @type {import('next').NextConfig} */
module.exports = {
output: undefined,
webpack(config) {
config.resolve.fallback = {
fs: false,
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"start:https": "npm run set:env & HTTPS=true next start",
"start:windows": "set \"GENERATE_SOURCEMAP=false\" && for /F \"delims=\" %I in ('git rev-parse HEAD') do set \"NEXT_PUBLIC_GIT_HASH=%I\" && next start",
"build": "npm run graphql:build && NEXT_PUBLIC_GIT_HASH=`git rev-parse HEAD` next build",
"build:ipfs": "node ./utils/ipfs/prepareBuild.js && next build && node ./utils/ipfs/postBuild.js",
"build:windows": "for /F \"delims=\" %I in ('git rev-parse HEAD') do set \"NEXT_PUBLIC_GIT_HASH=%I\" && next build",
"graphql:build": "graphclient build",
"graphql:dev-server": "graphclient serve-dev",
Expand Down
8 changes: 2 additions & 6 deletions src/components/ui/menus/AccountDisplay/MenuItemNetwork.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export function MenuItemNetwork() {
width="100%"
bgColor="#2c2c2c"
borderColor="#4d4d4d"
data-testid="accountMenu-network"
rounded="sm"
cursor="pointer"
onChange={async e => {
Expand All @@ -57,12 +58,7 @@ export function MenuItemNetwork() {
bg={chain.color}
rounded="full"
/>
<Text
data-testid="accountMenu-network"
textStyle="text-base-mono-medium"
>
{chain.name}
</Text>
<Text textStyle="text-base-mono-medium">{chain.name}</Text>
</option>
))}
</Select>
Expand Down
30 changes: 0 additions & 30 deletions utils/ipfs/postBuild.js

This file was deleted.

30 changes: 0 additions & 30 deletions utils/ipfs/prepareBuild.js

This file was deleted.

0 comments on commit 97f0ae2

Please sign in to comment.