Refine ci script

This commit is contained in:
Granty1
2020-04-09 21:33:13 +08:00
parent 5b753f2e72
commit 641adca61f
2 changed files with 3 additions and 38 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ jobs:
- name: Build
run: |
go build -v .
go build -o /usr/local/projects/gin-vue/run -v
working-directory: ./server
- name: Modify config params
@@ -42,8 +42,8 @@ jobs:
sed -i 's/%{redis_password}/'$REDIS_PASSWORD'/' config.yaml
working-directory: ./server
- name: Run
- name: Move config file
run: |
nohup ./gin-vue-admin &
mv ./config.yaml /usr/local/projects/gin-vue/config.yaml
working-directory: ./server