Skip to content

Commit

Permalink
removed print outs
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkim312 committed May 7, 2024
1 parent 3d5e6ff commit 2a09091
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1,GA_KEY
13 changes: 2 additions & 11 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1,GA_KEY

0 comments on commit 2a09091

Please sign in to comment.