Browse Source

* fix path of composer auth

master
Anton 8 months ago
parent
commit
0609ced666
  1. 2
      docker-compose.yml.example
  2. 2
      get-composer-auth.sh

2
docker-compose.yml.example

@ -63,4 +63,4 @@ secrets:
user_known_hosts:
file: ~/.ssh/known_hosts
composer_auth:
file: ~/.composer/auth.json
file: ~/.config/composer/auth.json

2
get-composer-auth.sh

@ -1,5 +1,5 @@
#!/bin/bash
FILE=${HOME}/.composer/auth.json
FILE=${HOME}/.config/composer/auth.json
if [[ -f "${FILE}" ]]; then
if [[ ! -z "$(cat $FILE | grep github)" ]]; then

Loading…
Cancel
Save