Fix replacing paths in drone
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-10-11 12:30:14 +02:00
parent 14374fd872
commit e5774d4553
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 5 deletions

View File

@ -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