Skip to content

Commit

Permalink
feat: move static sites to path (#2988)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi authored Dec 5, 2023
1 parent 8c5dcd4 commit 05cec62
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 129 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/set-rollout-by-path-manual.yaml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/set-rollout-by-path.yaml

This file was deleted.

35 changes: 18 additions & 17 deletions .github/workflows/set-rollout-manual.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Set rollout - Manual
name: Set rollout by path - Manual

on:
workflow_dispatch:
inputs:
packageVersion:
description: 'NPM Version of the release (@dcl/builder-site)'
description: "NPM Version of the release (@dcl/builder-site)"
required: true
default: ''
deploymentDomain:
type: 'choice'
description: 'Deployment domain'
default: ""
deploymentEnvironment:
type: "choice"
description: "Deployment environment"
required: true
default: '.zone'
default: "zone"
options:
- .zone
- .today
- .org
- zone
- today
- org
rolloutPercentage:
description: 'The percentage for this rollout'
description: "The percentage for this rollout"
required: true
default: '100'
default: "100"

jobs:
set-manual-rollout:
set-manual-by-path-rollout:
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2
- name: Set Rollout
uses: decentraland/set-rollout-action@main
uses: decentraland/set-rollout-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -36,10 +36,11 @@ jobs:
sha: ${{ github.sha }}

# CDN information
packageName: '@dcl/builder-site'
packageName: "@dcl/builder-site"
packageVersion: ${{ github.event.inputs.packageVersion }}

# Rollout information
deploymentDomain: builder.decentraland${{ github.event.inputs.deploymentDomain }}
deploymentName: '_site'
deploymentPath: "builder"
deploymentEnvironment: ${{ github.event.inputs.deploymentEnvironment }}
deploymentName: "_site"
percentage: ${{ github.event.inputs.rolloutPercentage }}
12 changes: 7 additions & 5 deletions .github/workflows/set-rollout.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Set rollout
name: Set rollout by path

on: [deployment_status]

Expand All @@ -11,7 +11,7 @@ jobs:

# Dev
- name: Set Rollout - Development
uses: decentraland/set-rollout-action@main
uses: decentraland/set-rollout-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -24,13 +24,14 @@ jobs:
packageVersion: ${{ github.event.deployment.payload.packageVersion }}

# Rollout information
deploymentDomain: 'builder.decentraland.zone'
deploymentPath: 'builder'
deploymentEnvironment: 'zone'
deploymentName: '_site'
percentage: 100

# Stg
- name: Set Rollout - Staging
uses: decentraland/set-rollout-action@main
uses: decentraland/set-rollout-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -43,6 +44,7 @@ jobs:
packageVersion: ${{ github.event.deployment.payload.packageVersion }}

# Rollout information
deploymentDomain: 'builder.decentraland.today'
deploymentPath: 'builder'
deploymentEnvironment: 'today'
deploymentName: '_site'
percentage: 100
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"decentraland-ecs": "^6.6.1-20201020183014.commit-bdc29ef-hotfix",
"decentraland-experiments": "^1.0.2",
"decentraland-transactions": "^1.47.0",
"decentraland-ui": "^4.27.6",
"decentraland-ui": "^4.29.0",
"ethers": "^5.6.8",
"file-saver": "^2.0.1",
"graphql": "^15.8.0",
Expand Down
6 changes: 3 additions & 3 deletions src/config/env/prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ERC721_COLLECTION_BASE_URI": "https://peer.decentraland.org/lambdas/collections/standard/erc721/",
"BUILDER_SERVER_URL": "https://builder-api.decentraland.org/v1",
"MARKETPLACE_URL": "https://api.decentraland.org/v1",
"MARKETPLACE_WEB_URL": "https://market.decentraland.org",
"MARKETPLACE_WEB_URL": "https://decentraland.org/marketplace",
"LAND_MANAGER_GRAPH_URL": "https://api.thegraph.com/subgraphs/name/decentraland/land-manager",
"MARKETPLACE_GRAPH_URL": "https://api.thegraph.com/subgraphs/name/decentraland/marketplace",
"RENTALS_GRAPH_URL": "https://api.thegraph.com/subgraphs/name/decentraland/rentals-ethereum-mainnet",
Expand All @@ -27,13 +27,13 @@
"IPFS_URL": "https://ipfs.infura.io:5001/api/v0/add?pin=false",
"EXPLORER_URL": "https://play.decentraland.org",
"TRANSACTIONS_API_URL": "https://transactions-api.decentraland.org/v1",
"ACCOUNT_URL": "https://account.decentraland.org",
"ACCOUNT_URL": "https://decentraland.org/account",
"DISCORD_URL": "https://dcl.gg/discord",
"WEARABLES_ZIP_INFRA_URL": "https://docs.decentraland.org/decentraland/linked-wearables/#creating-linked-wearables-in-bulk",
"MIN_SALE_VALUE_IN_WEI": "1000000000000000000",
"FORUM_URL": "https://forum.decentraland.org",
"WORLDS_CONTENT_SERVER": "https://worlds-content-server.decentraland.org",
"PROFILE_URL": "https://profile.decentraland.org",
"PROFILE_URL": "https://decentraland.org/profile",
"SSO_URL": "https://id.decentraland.org",
"SENTRY_DSN": "https://428e8d298fb3f0fbcea645314a4a388c@o4504361728212992.ingest.sentry.io/4505748381564928",
"DCL_LISTS_SERVER": "https://dcl-lists.decentraland.org",
Expand Down

1 comment on commit 05cec62

@vercel
Copy link

@vercel vercel bot commented on 05cec62 Dec 5, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

builder – ./

builder-decentraland1.vercel.app
builder-git-master-decentraland1.vercel.app

Please sign in to comment.