1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

cancel deploying to github pages; remove banner

This commit is contained in:
lana-k
2022-07-10 22:53:23 +02:00
parent c674bf11e3
commit e897b4913b
4 changed files with 5 additions and 62 deletions

View File

@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages and create release
name: Create release
on:
workflow_dispatch:
push:
@@ -7,7 +7,7 @@ on:
jobs:
deploy:
name: Deploy to GitHub Pages and create release
name: Create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -42,13 +42,3 @@ jobs:
artifacts: "dist/dist.zip"
token: ${{ secrets.GITHUB_TOKEN }}
bodyFile: "CHANGELOG.md"
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: build # The branch the action should deploy to.
folder: dist/ # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
clean-exclude: .nojekyll

View File

@@ -18,7 +18,7 @@ With sqliteviz you can:
https://user-images.githubusercontent.com/24638357/128249848-f8fab0f5-9add-46e0-a9c1-dd5085a8623e.mp4
## Quickstart
The latest release of sqliteviz is deployed on GitHub Pages at [lana-k.github.io/sqliteviz][6].
The latest release of sqliteviz is deployed on [sqliteviz.com/app][6].
## Wiki
For user documentation, check out sqliteviz [Wiki][7].
@@ -34,7 +34,7 @@ It is built on top of [react-chart-editor][3], [PivotTable.js][12], [sql.js][4]
[3]: https://github.com/plotly/react-chart-editor
[4]: https://github.com/sql-js/sql.js
[5]: https://github.com/vuejs/vue
[6]: https://lana-k.github.io/sqliteviz/
[6]: https://sqliteviz.com/app/
[7]: https://github.com/lana-k/sqliteviz/wiki
[8]: https://github.com/surmon-china/vue-codemirror#readme
[9]: https://www.papaparse.com/

View File

@@ -1,6 +1,6 @@
{
"name": "sqliteviz",
"version": "0.19.0",
"version": "0.20.0",
"license": "Apache-2.0",
"private": true,
"scripts": {

View File

@@ -1,35 +1,9 @@
<template>
<div id="app">
<div v-if="showBanner" id="banner" class="warning">
<close-icon @click="showBanner = false"/>
Sqliteviz has got own space on the web,
<a href="https://sqliteviz.com/" target="_blank">sqliteviz.com</a>!
New builds will be published there, so we recommend you to switch to the
<a href="https://sqliteviz.com/app/#" target="_blank">
new link</a> to not miss new features.
This
<a
href="https://sqliteviz.com/docs/how-to-migrate-to-sqliteviz-dot-com/"
target="_blank"
>migration guide</a> will help if you're not sure how to migrate.
</div>
<router-view/>
</div>
</template>
<script>
import CloseIcon from '@/components/svg/close'
export default {
components: { CloseIcon },
data () {
return {
showBanner: true
}
}
}
</script>
<style>
@font-face {
font-family: "Open Sans";
@@ -89,25 +63,4 @@ body {
.CodeMirror-hints {
z-index: 999 !important;
}
#banner {
position: fixed;
max-width: 500px;
box-sizing: border-box;
z-index: 1000;
top: 8px;
left: 50%;
transform: translateX(-50%);
padding: 32px;
border-radius: var(--border-radius-big);
box-shadow: 0px 2px 9px rgba(80, 103, 132, 0.4);
}
#banner svg {
padding: 4px;
position: absolute;
top: 12px;
right: 12px;
}
#banner a {
color: var(--color-text-active);
}
</style>