mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix deployment
This commit is contained in:
parent
f0dcc2f3db
commit
69f245c205
4
.github/workflows/on_main_push.yml
vendored
4
.github/workflows/on_main_push.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
- uses: ./.github/actions/webgpu
|
||||
- uses: ./.github/actions/deploy
|
||||
with:
|
||||
source: web/web/dist/linux-demo/.
|
||||
source: web/demo/dist/.
|
||||
destination: webgpu
|
||||
key: ${{ secrets.SSH_KEY_MAXAMMANN_ORG }}
|
||||
build-deploy-webgl:
|
||||
@ -44,7 +44,7 @@ jobs:
|
||||
- uses: ./.github/actions/webgl
|
||||
- uses: ./.github/actions/deploy
|
||||
with:
|
||||
source: web/web/dist/linux-demo/.
|
||||
source: web/demo/dist/.
|
||||
destination: webgl
|
||||
key: ${{ secrets.SSH_KEY_MAXAMMANN_ORG }}
|
||||
build-deploy-docs:
|
||||
|
||||
@ -4,10 +4,11 @@
|
||||
"description": "A maplibre demo",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist",
|
||||
"start": "webpack-dev-server --mode=development",
|
||||
"start-production": "npm run start -- --mode=production",
|
||||
"build": "webpack --mode=development",
|
||||
"build-production": "webpack --mode=production"
|
||||
"start-production": "webpack-dev-server --mode=production",
|
||||
"build": "npm run clean && webpack --mode=development",
|
||||
"build-production": "npm run clean && webpack --mode=production"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@ -46,7 +46,7 @@ module.exports = (_env) => ({
|
||||
extensions: ['.ts', '.js'],
|
||||
},
|
||||
plugins: [
|
||||
new CopyPlugin({
|
||||
/*new CopyPlugin({
|
||||
patterns: [
|
||||
// webpack
|
||||
//{ from: "*.wasm", to: "[path][name][ext]", context: 'node_modules/maplibre_rs/dist/maplibre-rs/' },
|
||||
@ -55,7 +55,7 @@ module.exports = (_env) => ({
|
||||
{from: "*.wasm", to: "[path]maplibre[ext]", context: 'node_modules/maplibre_rs/dist/parcel-cjs/'},
|
||||
{from: "*worker*", to: "[path]worker[ext]", context: 'node_modules/maplibre_rs/dist/parcel-cjs/'},
|
||||
],
|
||||
}),
|
||||
}),*/
|
||||
new HtmlWebpackPlugin({
|
||||
title: 'maplibre demo',
|
||||
}),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user