Skip to content
Permalink
Browse files

Create volume directories in gitgot-docker.sh

If these aren't created beforehand, they will be created with root
privs. There might be a cleaner fix with the docker-run line. TBD
  • Loading branch information...
the-bumble committed Jul 24, 2019
1 parent 24e7558 commit 21f4002675fc1587fce390af2daa264e9cf81d0c
Showing with 3 additions and 0 deletions.
  1. +3 −0 gitgot-docker.sh
@@ -12,6 +12,9 @@ else
echo "Not in project directory. Skipping container update/rebuild..."
fi

if [[ ! -d "logs" || ! -d "states" ]]; then
mkdir logs states
fi

docker run --rm -it \
-e GITHUB_ACCESS_TOKEN=$GITHUB_ACCESS_TOKEN \

0 comments on commit 21f4002

Please sign in to comment.
You can’t perform that action at this time.