remove demo page from navigation and remove build action

This commit is contained in:
Pelanyo Kamara 2021-11-09 23:33:17 +00:00
parent 80ff5e3e63
commit 69a97d324d
No known key found for this signature in database
GPG key ID: 848AD95363B749B5
4 changed files with 6 additions and 32 deletions

View file

@ -33,31 +33,3 @@ jobs:
with:
name: luau-${{matrix.os}}
path: Release\luau*.exe
web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: setup emsdk
uses: mymindstorm/setup-emsdk@v9
with:
version: 1.38.40
actions-cache-folder: 'emsdk-cache'
- name: verify emsdk
run: |
emcc -v # verify emscripten installed successfully
- name: cmake configure
run: |
emcmake cmake .
- name: build
run: |
cmake --build . --target Luau.Repl.CLI --config Debug # as seen above but only Repl.CLI.
- uses: actions/upload-artifact@v2
with:
name: luau.wasm
path: docs/assets/luau/luau.wasm
if-no-files-found: error
- uses: actions/upload-artifact@v2
with:
name: luau.js
path: docs/assets/luau/luau.js
if-no-files-found: error

View file

@ -174,7 +174,7 @@ static std::string runCode(lua_State* L, const std::string& source)
else
{
std::string error;
if (status == LUA_YIELD)
{
error = "thread yielded unexpectedly";

View file

@ -25,5 +25,7 @@ pages:
url: /profile
- title: Library
url: /library
- title: Demo
url: /demo
# Remove demo pages until solution is found
# - title: Demo
# url: /demo

View file

@ -47,4 +47,4 @@
}
}
</script>
<script async src="assets/luau/luau.js"></script>
<script async src="assets/luau/luau.js"></script>