Fix changing api url when releasing

This commit is contained in:
kolaente 2020-05-05 23:34:58 +02:00
parent 9fdbcd56cf
commit f1561a491b
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -39,7 +39,7 @@ steps:
- yarn --frozen-lockfile
- yarn run lint
- yarn run build
- sed -i 's/http\:\/\/localhost\:3456\/api\/v1/\/api\/v1/g' dist/index.html # Override the default api url used for developing
- sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing
- name: static
image: kolaente/zip
@ -113,7 +113,7 @@ steps:
- yarn --frozen-lockfile
- yarn run lint
- yarn run build
- sed -i 's/http\:\/\/localhost\:3456\/api\/v1/\/api\/v1/g' dist/index.html # Override the default api url used for developing
- sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing
- name: static
image: kolaente/zip