Browse Source

Test for env variables

main
Granty1 5 years ago
parent
commit
30e144c02d
  1. 1
      .github/workflows/go.yml

1
.github/workflows/go.yml

@ -32,6 +32,7 @@ jobs:
working-directory: ./server working-directory: ./server
- name: Modify config params - name: Modify config params
run: | run: |
echo $LANG
sed -i 's/%{address}/$MYSQL_ADDR/' config.yaml sed -i 's/%{address}/$MYSQL_ADDR/' config.yaml
sed -i 's/%{username}/$MYSQL_USERNAME/' config.yaml sed -i 's/%{username}/$MYSQL_USERNAME/' config.yaml
sed -i 's/%{password}/$MSQL_PASSWORD/' config.yaml sed -i 's/%{password}/$MSQL_PASSWORD/' config.yaml

Loading…
Cancel
Save