Fix replacing paths in drone
This commit is contained in:
parent
14374fd872
commit
e5774d4553
10
.drone.yml
10
.drone.yml
@ -20,11 +20,11 @@ steps:
|
|||||||
# TODO: Move to a yarn script
|
# TODO: Move to a yarn script
|
||||||
- wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
|
- wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
|
||||||
- unzip vikunja-frontend-master.zip -d frontend
|
- unzip vikunja-frontend-master.zip -d frontend
|
||||||
- sed -i 's/\/fonts/file\:\/\/fonts/g' frontend/index.html
|
- sed -i 's/\\/fonts/file\:\\/\\/fonts/g' frontend/index.html
|
||||||
- sed -i 's/\/js/file\:\/\/js/g' frontend/index.html
|
- sed -i 's/\\/js/file\:\\/\\/js/g' frontend/index.html
|
||||||
- sed -i 's/\/css/file\:\/\/css/g' frontend/index.html
|
- sed -i 's/\\/css/file\:\\/\\/css/g' frontend/index.html
|
||||||
- sed -i 's/\/images/file\:\/\/images/g' frontend/index.html
|
- sed -i 's/\\/images/file\:\\/\\/images/g' frontend/index.html
|
||||||
- sed -i "s/\/'images/'file\:\/\/images/g" frontend/js/*
|
- sed -i "s/\\/'images/'file\:\\/\\/images/g" frontend/js/*
|
||||||
- yarn install
|
- yarn install
|
||||||
- export BUILD_NUMBER=master
|
- export BUILD_NUMBER=master
|
||||||
- yarn dist --linux --windows
|
- yarn dist --linux --windows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user