From 829e49cd7da96d565cdb8b177138afb779dd3882 Mon Sep 17 00:00:00 2001 From: bufan Date: Thu, 15 Jun 2023 16:56:25 +0800 Subject: [PATCH] update github action for env REACT_APP_DOCS_URL --- .github/workflows/dashboard-firebase-hosting-merge.yml | 2 ++ .github/workflows/dashboard-firebase-hosting-pull-request.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/dashboard-firebase-hosting-merge.yml b/.github/workflows/dashboard-firebase-hosting-merge.yml index 90f04885..66c6728f 100644 --- a/.github/workflows/dashboard-firebase-hosting-merge.yml +++ b/.github/workflows/dashboard-firebase-hosting-merge.yml @@ -32,6 +32,7 @@ jobs: REACT_APP_CERAMIC_MAINNET_HOST: '${{ vars.REACT_APP_CERAMIC_MAINNET_HOST }}' 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 }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' @@ -64,6 +65,7 @@ jobs: REACT_APP_CERAMIC_MAINNET_HOST: '${{ vars.REACT_APP_CERAMIC_MAINNET_HOST }}' 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 }}' - 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 fb8b7e69..d7e227e9 100644 --- a/.github/workflows/dashboard-firebase-hosting-pull-request.yml +++ b/.github/workflows/dashboard-firebase-hosting-pull-request.yml @@ -32,6 +32,7 @@ jobs: REACT_APP_CERAMIC_MAINNET_HOST: '${{ vars.REACT_APP_CERAMIC_MAINNET_HOST }}' 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 }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' @@ -63,6 +64,7 @@ jobs: REACT_APP_CERAMIC_MAINNET_HOST: '${{ vars.REACT_APP_CERAMIC_MAINNET_HOST }}' 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 }}' - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}'