header: Fix highlighting not working properly in log
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
3d3a4c553b
commit
455f667e88
3 changed files with 6 additions and 2 deletions
|
@ -23,6 +23,7 @@ environment:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- sh: |
|
- sh: |
|
||||||
|
mkdir /lib64
|
||||||
ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
|
ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
|
||||||
chmod -R 777 /appveyor/projects
|
chmod -R 777 /appveyor/projects
|
||||||
npm install
|
npm install
|
||||||
|
@ -59,6 +60,9 @@ on_success:
|
||||||
-H "Authorization: token $deploytoken" \
|
-H "Authorization: token $deploytoken" \
|
||||||
-F "attachment=@${CURR_VER}_build-sc.7z" \
|
-F "attachment=@${CURR_VER}_build-sc.7z" \
|
||||||
https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases/$RELEASE_ID/assets
|
https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases/$RELEASE_ID/assets
|
||||||
|
|
||||||
|
echo "Deplying to production"
|
||||||
|
curl -X POST http://192.168.93.51:8881/update/manager | jq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# on build failure
|
# on build failure
|
||||||
|
|
|
@ -26,7 +26,7 @@ const Header = {
|
||||||
m('div.seperator'),
|
m('div.seperator'),
|
||||||
m(m.route.Link, {
|
m(m.route.Link, {
|
||||||
href: '/log',
|
href: '/log',
|
||||||
class: path === '/log' ? 'active' : '',
|
class: path.startsWith('/log') ? 'active' : '',
|
||||||
}, 'Log'),
|
}, 'Log'),
|
||||||
m('div.seperator'),
|
m('div.seperator'),
|
||||||
m(m.route.Link, {
|
m(m.route.Link, {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "sc-manager",
|
"name": "sc-manager",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue