Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Boyer authored May 31, 2024
1 parent 53eade1 commit 8f293cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grav/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ ln -s "/vault/secrets/$GIT_VAULT_SECRET" "/var/www/html/user/config/plugins/git-
bin/plugin git-sync init
bin/plugin git-sync sync > /dev/null
cd /var/www/html/user
git pull origin $HEAD_BRANCH
git fetch origin
git reset --hard origin/master
echo "done"

if [ ! -f "/var/www/html/user/accounts/admin.yaml" ]; then
Expand Down

0 comments on commit 8f293cf

Please sign in to comment.