Skip to content

Commit 408571c

Browse files
authored
Remove staging deployment (#2272)
1 parent 1cafebe commit 408571c

File tree

2 files changed

+9
-25
lines changed

2 files changed

+9
-25
lines changed

.github/workflows/update-prod-staging.yml

+2-23
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ jobs:
1919
domain: 'app.aave.com',
2020
artifact: 'out',
2121
build_path: 'out'
22-
},
23-
{
24-
name: 'Staging',
25-
domain: 'staging.aave.com',
26-
artifact: 'out_staging',
27-
build_path: 'out_staging'
2822
}
2923
]
3024
environment:
@@ -39,18 +33,6 @@ jobs:
3933
name: ${{ matrix.environment.artifact }}
4034
path: ${{ matrix.environment.build_path }}
4135

42-
# Only for staging environment
43-
- name: pinata
44-
id: pinata
45-
if: matrix.environment.name == 'Staging'
46-
uses: aave/pinata-action@35662944e92cf082457973f10aa42e48df179b47
47-
with:
48-
PINATA_API_KEY: '${{ secrets.PINATA_API_KEY }}'
49-
PINATA_SECRET_KEY: '${{ secrets.PINATA_SECRET_KEY }}'
50-
PIN_ALIAS: 'app-aave-staging'
51-
BUILD_LOCATION: './out_staging'
52-
CID_VERSION: 1
53-
5436
- name: Pin to primary IPFS server
5537
id: ipfs-primary
5638
uses: ./.github/actions/ipfs-pin
@@ -60,25 +42,22 @@ jobs:
6042
IPFS_SERVER: '${{ secrets.IPFS_PRIMARY_SERVER }}'
6143
IPFS_SERVER_KEY: '${{ secrets.IPFS_PRIMARY_SERVER_KEY }}'
6244
BUILD_PATH: ${{ matrix.environment.build_path }}
63-
PINATA_HASH: ${{ matrix.environment.name == 'Production' && inputs.PINATA_HASH || steps.pinata.outputs.hash }}
45+
PINATA_HASH: ${{ inputs.PINATA_HASH }}
6446

6547
- uses: aave/cloudflare-update-action@0f2084730a068fab162853c4e7cc40537233d34a
6648
with:
6749
CF_API_TOKEN: '${{ secrets.CF_API_TOKEN }}'
6850
CF_ZONE_ID: '${{ secrets.CF_ZONE_ID }}'
69-
HASH: ${{ matrix.environment.name == 'Production' && inputs.PINATA_HASH || steps.pinata.outputs.hash }}
51+
HASH: ${{ inputs.PINATA_HASH }}
7052
CF_DEPLOYMENT_DOMAIN: ${{ matrix.environment.domain }}
7153

72-
# Only for production environment
7354
- name: prepare release
74-
if: matrix.environment.name == 'Production'
7555
run: |
7656
cp .github/release-template.md ./release-notes.md
7757
sed -i 's|<ipfs-hash>|${{ inputs.PINATA_HASH }}|g' ./release-notes.md
7858
echo "TAG=release-$(date '+%Y-%m-%d_%H-%M')" >> ${GITHUB_ENV}
7959
8060
- name: Create GH release
81-
if: matrix.environment.name == 'Production'
8261
uses: ncipollo/release-action@4c75f0f2e4ae5f3c807cf0904605408e319dcaac # v1.10.0
8362
with:
8463
name: Production release

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,13 @@ There's a github action commenting the appropriate IPFS hash embedded in the Clo
4747

4848
For ease of use:
4949

50-
- the DNS of [https://staging.aave.com](https://staging.aave.com) will always point to the latest main IPFS hash with all networks enabled
51-
- the DNS of [https://app.aave.com](https://app.aave.com) will always point to the latest main IPFS hash with disabled test networks
50+
- the DNS of [https://app.aave.com](https://app.aave.com) will always point to the latest main IPFS hash.
51+
52+
### Testnet Networks Access
53+
The interface now includes a feature toggle for testnet networks. Users can enable test networks by:
54+
1. Opening the Settings menu
55+
2. Toggling the "Testnet mode" switch
56+
3. Once enabled, testnet networks (like Sepolia, Mumbai, etc.) will become available in the network selection menu
5257

5358
### Links known to work at some point:
5459

0 commit comments

Comments
 (0)