|
@ -30,7 +30,13 @@ jobs: |
|
|
run: | |
|
|
run: | |
|
|
go build -v . |
|
|
go build -v . |
|
|
working-directory: ./server |
|
|
working-directory: ./server |
|
|
|
|
|
|
|
|
|
|
|
- name: Modify config params |
|
|
|
|
|
run: | |
|
|
|
|
|
sed -i 's/%{address}/$MYSQL_ADDR/' config.yaml |
|
|
|
|
|
sed -i 's/%{username}/$MYSQL_USERNAME/' config.yaml |
|
|
|
|
|
sed -i 's/%{password}/$MSQL_PASSWORD/' config.yaml |
|
|
|
|
|
cat config.yaml |
|
|
|
|
|
working-directory: ./server |
|
|
- name: Run |
|
|
- name: Run |
|
|
run: | |
|
|
run: | |
|
|
nohup ./gin-vue-admin & |
|
|
nohup ./gin-vue-admin & |
|
|