From d3d954c47fb5a563cf3bff0def62e5456cd1a73c Mon Sep 17 00:00:00 2001 From: Lawrence Forman Date: Thu, 23 May 2024 07:23:56 -0400 Subject: [PATCH] update actions config --- .env.example | 1 - .github/workflows/build-pages.yml | 22 ++++++++++------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.env.example b/.env.example index 0257e0e..1df1308 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,3 @@ -GCLOUD_PROJECT= PUBLIC_RPC_URL= PUBLIC_CHAIN_ID= PUBLIC_CONTEST_ADDRESS= diff --git a/.github/workflows/build-pages.yml b/.github/workflows/build-pages.yml index 91c4e62..6a712de 100644 --- a/.github/workflows/build-pages.yml +++ b/.github/workflows/build-pages.yml @@ -24,18 +24,16 @@ jobs: && exit 1 - name: prepare env run: | - echo "PUBLIC_CHAIN_ID=${{ vars.CHAIN_ID }}" >> $GITHUB_ENV \ - && echo "GCLOUD_PROJECT=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_RPC_URL=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_CHAIN_ID=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_CONTEST_ADDRESS=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_GH_CLIENT_ID=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_PROJECT_ID=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_REGISTRAR_URL=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_DATA_URL=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_INVITE_ONLY=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_SEASON_DURATION_SECONDS=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV \ - && echo "PUBLIC_MAINTENANCE_MODE=${{ secrets.ETHEREUM_RPC }}" >> $GITHUB_ENV + echo "PUBLIC_RPC_URL=${{ vars.PUBLIC_ETHEREUM_RPC }}" >> $GITHUB_ENV \ + && echo "PUBLIC_CHAIN_ID=${{ vars.PUBLIC_CHAIN_ID }}" >> $GITHUB_ENV \ + && echo "PUBLIC_CONTEST_ADDRESS=${{ vars.PUBLIC_CONTEST_ADDRESS }}" >> $GITHUB_ENV \ + && echo "PUBLIC_GH_CLIENT_ID=${{ vars.PUBLIC_GH_CLIENT_ID }}" >> $GITHUB_ENV \ + && echo "PUBLIC_PROJECT_ID=${{ vars.PUBLIC_PROJECT_ID }}" >> $GITHUB_ENV \ + && echo "PUBLIC_REGISTRAR_URL=${{ vars.PUBLIC_REGISTRAR_URL }}" >> $GITHUB_ENV \ + && echo "PUBLIC_DATA_URL=${{ vars.PUBLIC_DATA_URL }}" >> $GITHUB_ENV \ + && echo "PUBLIC_INVITE_ONLY=${{ vars.PUBLIC_INVITE_ONLY }}" >> $GITHUB_ENV \ + && echo "PUBLIC_SEASON_DURATION_SECONDS=${{ vars.PUBLIC_SEASON_DURATION_SECONDS }}" >> $GITHUB_ENV \ + && echo "PUBLIC_MAINTENANCE_MODE=${{ vars.PUBLIC_MAINTENANCE_MODE }}" >> $GITHUB_ENV - name: install deps run: npm i --include=dev - name: build