Fix replacing paths in drone
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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
|
||||
- wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
|
||||
- unzip vikunja-frontend-master.zip -d frontend
|
||||
- sed -i 's/\/fonts/file\:\/\/fonts/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/\/images/file\:\/\/images/g' frontend/index.html
|
||||
- sed -i "s/\/'images/'file\:\/\/images/g" frontend/js/*
|
||||
- sed -i 's/\\/fonts/file\:\\/\\/fonts/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/\\/images/file\:\\/\\/images/g' frontend/index.html
|
||||
- sed -i "s/\\/'images/'file\:\\/\\/images/g" frontend/js/*
|
||||
- yarn install
|
||||
- export BUILD_NUMBER=master
|
||||
- yarn dist --linux --windows
|
||||
|
|
Reference in New Issue