|
@ -30,7 +30,7 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Build |
|
|
- name: Build |
|
|
run: | |
|
|
run: | |
|
|
go build -v . |
|
|
|
|
|
|
|
|
go build -o /usr/local/projects/gin-vue/run -v |
|
|
working-directory: ./server |
|
|
working-directory: ./server |
|
|
|
|
|
|
|
|
- name: Modify config params |
|
|
- name: Modify config params |
|
@ -42,8 +42,8 @@ jobs: |
|
|
sed -i 's/%{redis_password}/'$REDIS_PASSWORD'/' config.yaml |
|
|
sed -i 's/%{redis_password}/'$REDIS_PASSWORD'/' config.yaml |
|
|
working-directory: ./server |
|
|
working-directory: ./server |
|
|
|
|
|
|
|
|
- name: Run |
|
|
|
|
|
|
|
|
- name: Move config file |
|
|
run: | |
|
|
run: | |
|
|
nohup ./gin-vue-admin & |
|
|
|
|
|
|
|
|
mv ./config.yaml /usr/local/projects/gin-vue/config.yaml |
|
|
working-directory: ./server |
|
|
working-directory: ./server |
|
|
|
|
|
|