From 2a090911b5af15aeb0a194655ebc6c85fbcad0bc Mon Sep 17 00:00:00 2001 From: YONG WOOK KIM Date: Tue, 7 May 2024 11:16:55 -0500 Subject: [PATCH] removed print outs --- .github/workflows/ci.yaml | 6 ++++-- .github/workflows/doc.yaml | 13 ++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b8c1f7f..909133d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -53,10 +53,11 @@ jobs: elif [ "$BRANCH" == "develop" ]; then echo "VERSION=develop" >> $GITHUB_ENV echo "TAGS=develop" >> $GITHUB_ENV - GA_KEY="${{ secrets.GA_KEY }}" + GA_KEY="${{ secrets.GA_KEY_DEV }}" else echo "VERSION=testing" >> $GITHUB_ENV echo "TAGS=${BRANCH}" >> $GITHUB_ENV + GA_KEY="${{ secrets.GA_KEY_DEV }}" fi echo "GA_KEY=$GA_KEY" >> $GITHUB_ENV @@ -88,10 +89,11 @@ jobs: VERSION: ${{ env.VERSION }} BUILDNUMBER: ${{ github.run_number }} GITSHA1: ${{ github.sha }} + GA_KEY: ${{ env.GA_KEY }} with: registry: hub.ncsa.illinois.edu name: incore/doc/pyincore-viz username: ${{ secrets.HUB_USERNAME }} password: ${{ secrets.HUB_PASSWORD }} tags: "${{ env.TAGS }}" - buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1 \ No newline at end of file + buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1,GA_KEY \ No newline at end of file diff --git a/.github/workflows/doc.yaml b/.github/workflows/doc.yaml index 473cbf8..a45b334 100644 --- a/.github/workflows/doc.yaml +++ b/.github/workflows/doc.yaml @@ -63,16 +63,6 @@ jobs: GA_KEY="${{ secrets.GA_KEY_DEV }}" fi echo "GA_KEY=$GA_KEY" >> $GITHUB_ENV - echo "GA_KEY is: $GA_KEY" - echo "GA_KEY_DEV in secret is: ${{ secrets.GA_KEY_DEV }}" - echo "GA_KEY in secret is: ${{ secrets.GA_KEY }}" - echo "GA_KEY in process is: $GA_KEY" - echo "GA_KEY in env is: ${{ env.GA_KEY }}" - - # print out env.GA_KEY - - name: Print out env.GA_KEY - run: | - echo "GA_KEY is: ${{ env.GA_KEY }}" # build image - name: Build image @@ -94,10 +84,11 @@ jobs: VERSION: ${{ env.VERSION }} BUILDNUMBER: ${{ github.run_number }} GITSHA1: ${{ github.sha }} + GA_KEY: ${{ env.GA_KEY }} with: registry: hub.ncsa.illinois.edu name: incore/doc/pyincore-viz username: ${{ secrets.HUB_USERNAME }} password: ${{ secrets.HUB_PASSWORD }} tags: "${{ env.TAGS }}" - buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1 \ No newline at end of file + buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1,GA_KEY \ No newline at end of file