Skip to content

Commit

Permalink
Do we have a GH Token?
Browse files Browse the repository at this point in the history
  • Loading branch information
frcroth committed Mar 18, 2024
1 parent 04f5600 commit 7f2603a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ jobs:
echo "export NORMALIZED_BRANCH=master" >> $BASH_ENV
echo "export DOCKER_TAG=${CIRCLE_TAG}" >> $BASH_ENV
fi
- run:
name: Test GH Token
command: |
if [ -n "$GH_TOKEN" ]; then
echo "GH_TOKEN is set"
sudo apt update && sudo apt install -y gh
gh auth status
else
echo "GH_TOKEN is not set"
exit 1
fi
- run:
name: Build webknossos-dev docker image
command: |
Expand Down

0 comments on commit 7f2603a

Please sign in to comment.