This commit is contained in:
parent
562594c355
commit
e40422c131
@ -81,17 +81,13 @@ jobs:
|
||||
echo ______ frontend/spa.html ______
|
||||
cat frontend/spa.html
|
||||
|
||||
- name: stop Live Server
|
||||
run: |
|
||||
docker stop live-server-container
|
||||
docker rm live-server-container
|
||||
|
||||
- name: Start Live Server
|
||||
run: |
|
||||
ls -la
|
||||
echo ${{ github.workspace }}
|
||||
pwd
|
||||
docker run -d --name live-server-container -p 8081:8081 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server
|
||||
run: yarn run -- live-server --no-browser --port=80 --ignore='*' --entry-file=spa.html --no-css-inject --proxy=/api:http://tibi-server:8080/api/v1/_/einfo_test frontend
|
||||
#run: |
|
||||
# ls -la
|
||||
# echo ${{ github.workspace }}
|
||||
# pwd
|
||||
# docker run -d --name live-server-container -p 8081:8081 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server
|
||||
|
||||
- name: Wait for Live Server
|
||||
run: |
|
||||
@ -110,11 +106,11 @@ jobs:
|
||||
|
||||
- name: Test HTTP Request
|
||||
run: curl http://127.0.0.1:8081
|
||||
|
||||
|
||||
- name: stop Live Server
|
||||
run: |
|
||||
docker stop live-server-container
|
||||
docker rm live-server-container
|
||||
docker rm live-server-container
|
||||
#- name: staging api testtest
|
||||
# if: github.ref == 'refs/heads/dev'
|
||||
# run: |
|
||||
|
Loading…
Reference in New Issue
Block a user