-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically update github pages via the CI
- Loading branch information
Showing
4 changed files
with
38 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,14 @@ jobs: | |
with: {name: dist, path: dist} | ||
- name: test | ||
run: npm ci && npm test | ||
- name: generate documentation | ||
# We need the symbolic links to avoid breaking old URLs | ||
run: npm run doc && mkdir -p documentation/class && ln -s documentation/* documentation/class/ | ||
- name: Update github pages | ||
if: github.event_name == 'push' && github.ref == 'master' | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages # The branch the action should deploy to. | ||
FOLDER: "." # The folder the action should deploy. | ||
CLEAN: false # Automatically remove deleted files from the deploy branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>sql.js</title> | ||
</head> | ||
|
||
<body> | ||
<h1>sql.js</h1> | ||
|
||
<h2>Examples</h2> | ||
|
||
<ol> | ||
<li><a href="./examples/GUI">Online SQL Interpreter</a> Full featured Sqlite Interpreter running in your browser.</li> | ||
<li><a href="./examples/repl.html">Online SQL read eval print loop</a> simple SQLite REPL </li> | ||
<li><a href="./examples/persistent.html">Persistence</a> Persisting data</li> | ||
<li><a href="./examples/requireJS.html">RequireJS</a> Load sql.js asynchronously using <a href="https://requirejs.org/">RequireJs</a></li> | ||
<li><a href="./examples/simple.html">Simple Example</a> Demonstrates prepare,getAsObject, and other SQL.js methods. </li> | ||
</ol> | ||
|
||
Note: To run these examples locally, see <a href="./examples/">./examples/readme.md</a> | ||
|
||
<h2>Source</h2> | ||
|
||
<p><a href="https://github.com/sql-js/sql.js">Source on Github</a></p> | ||
|
||
</body> | ||
</html> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<title>sql.js</title> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
<meta name="description" | ||
content="sql.js is an SQL library for javascript containing a version of SQLite compiled for the web."> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"> | ||
</head> | ||
|
||
<body> | ||
<div id="app"></div> | ||
<script>window.$docsify = { name: 'SQL.js', repo: '' }</script> | ||
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script> | ||
</body> | ||
|
||
</html> |