From 53429499d453a41491cdf95c8ad7a0a470789a9b Mon Sep 17 00:00:00 2001 From: bufan Date: Tue, 26 Sep 2023 18:15:51 +0800 Subject: [PATCH] add env REACT_APP_ADMIN_ADDRESS --- .github/workflows/dashboard-firebase-hosting-merge.yml | 2 ++ .github/workflows/dashboard-firebase-hosting-pull-request.yml | 2 ++ .github/workflows/scan-firebase-hosting-merge.yml | 2 ++ .github/workflows/scan-firebase-hosting-pull-request.yml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.github/workflows/dashboard-firebase-hosting-merge.yml b/.github/workflows/dashboard-firebase-hosting-merge.yml index 66c6728f..74c0bfec 100644 --- a/.github/workflows/dashboard-firebase-hosting-merge.yml +++ b/.github/workflows/dashboard-firebase-hosting-merge.yml @@ -33,6 +33,7 @@ jobs: REACT_APP_CERAMIC_TESTNET_HOST: '${{ vars.REACT_APP_CERAMIC_TESTNET_HOST }}' REACT_APP_S3_SCAN_URL: '${{ vars.REACT_APP_S3_SCAN_URL }}' REACT_APP_DOCS_URL: '${{ vars.REACT_APP_DOCS_URL }}' + REACT_APP_ADMIN_ADDRESS: '${{ vars.REACT_APP_ADMIN_ADDRESS }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' @@ -66,6 +67,7 @@ jobs: REACT_APP_CERAMIC_TESTNET_HOST: '${{ vars.REACT_APP_CERAMIC_TESTNET_HOST }}' REACT_APP_S3_SCAN_URL: '${{ vars.REACT_APP_S3_SCAN_URL }}' REACT_APP_DOCS_URL: '${{ vars.REACT_APP_DOCS_URL }}' + REACT_APP_ADMIN_ADDRESS: '${{ vars.REACT_APP_ADMIN_ADDRESS }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/dashboard-firebase-hosting-pull-request.yml b/.github/workflows/dashboard-firebase-hosting-pull-request.yml index d7e227e9..7d4062c2 100644 --- a/.github/workflows/dashboard-firebase-hosting-pull-request.yml +++ b/.github/workflows/dashboard-firebase-hosting-pull-request.yml @@ -33,6 +33,7 @@ jobs: REACT_APP_CERAMIC_TESTNET_HOST: '${{ vars.REACT_APP_CERAMIC_TESTNET_HOST }}' REACT_APP_S3_SCAN_URL: '${{ vars.REACT_APP_S3_SCAN_URL }}' REACT_APP_DOCS_URL: '${{ vars.REACT_APP_DOCS_URL }}' + REACT_APP_ADMIN_ADDRESS: '${{ vars.REACT_APP_ADMIN_ADDRESS }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' @@ -65,6 +66,7 @@ jobs: REACT_APP_CERAMIC_TESTNET_HOST: '${{ vars.REACT_APP_CERAMIC_TESTNET_HOST }}' REACT_APP_S3_SCAN_URL: '${{ vars.REACT_APP_S3_SCAN_URL }}' REACT_APP_DOCS_URL: '${{ vars.REACT_APP_DOCS_URL }}' + REACT_APP_ADMIN_ADDRESS: '${{ vars.REACT_APP_ADMIN_ADDRESS }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/scan-firebase-hosting-merge.yml b/.github/workflows/scan-firebase-hosting-merge.yml index b2721d28..6d2f285b 100644 --- a/.github/workflows/scan-firebase-hosting-merge.yml +++ b/.github/workflows/scan-firebase-hosting-merge.yml @@ -30,6 +30,7 @@ jobs: REACT_APP_UPLOAD_API_URL: '${{ vars.REACT_APP_UPLOAD_API_URL }}' REACT_APP_CERAMIC_MAINNET_HOST: '${{ vars.REACT_APP_CERAMIC_MAINNET_HOST }}' REACT_APP_CERAMIC_TESTNET_HOST: '${{ vars.REACT_APP_CERAMIC_TESTNET_HOST }}' + REACT_APP_ADMIN_ADDRESS: '${{ vars.REACT_APP_ADMIN_ADDRESS }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' @@ -60,6 +61,7 @@ jobs: REACT_APP_UPLOAD_API_URL: '${{ vars.REACT_APP_UPLOAD_API_URL }}' REACT_APP_CERAMIC_MAINNET_HOST: '${{ vars.REACT_APP_CERAMIC_MAINNET_HOST }}' REACT_APP_CERAMIC_TESTNET_HOST: '${{ vars.REACT_APP_CERAMIC_TESTNET_HOST }}' + REACT_APP_ADMIN_ADDRESS: '${{ vars.REACT_APP_ADMIN_ADDRESS }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/scan-firebase-hosting-pull-request.yml b/.github/workflows/scan-firebase-hosting-pull-request.yml index 6ed998d5..01d826cd 100644 --- a/.github/workflows/scan-firebase-hosting-pull-request.yml +++ b/.github/workflows/scan-firebase-hosting-pull-request.yml @@ -30,6 +30,7 @@ jobs: REACT_APP_UPLOAD_API_URL: '${{ vars.REACT_APP_UPLOAD_API_URL }}' REACT_APP_CERAMIC_MAINNET_HOST: '${{ vars.REACT_APP_CERAMIC_MAINNET_HOST }}' REACT_APP_CERAMIC_TESTNET_HOST: '${{ vars.REACT_APP_CERAMIC_TESTNET_HOST }}' + REACT_APP_ADMIN_ADDRESS: '${{ vars.REACT_APP_ADMIN_ADDRESS }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' @@ -59,6 +60,7 @@ jobs: REACT_APP_UPLOAD_API_URL: '${{ vars.REACT_APP_UPLOAD_API_URL }}' REACT_APP_CERAMIC_MAINNET_HOST: '${{ vars.REACT_APP_CERAMIC_MAINNET_HOST }}' REACT_APP_CERAMIC_TESTNET_HOST: '${{ vars.REACT_APP_CERAMIC_TESTNET_HOST }}' + REACT_APP_ADMIN_ADDRESS: '${{ vars.REACT_APP_ADMIN_ADDRESS }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}'