Skip to content

Commit

Permalink
Merge pull request #85 from tillvit/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
tillvit authored Dec 20, 2023
2 parents 2a230e9 + fa67b7f commit 68c205b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/devbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build development

on:
workflow_dispatch:
push:
branches: ["development"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout development branch
uses: actions/checkout@v3
with:
ref: development

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.x"

- name: Build
run: |
npm install
npm run build
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { VitePWA } from 'vite-plugin-pwa';
// https://vitejs.dev/config/
export default defineConfig({
base: "/smeditor",
appType: "mpa",
plugins: [
VitePWA({
registerType: "autoUpdate",
Expand Down Expand Up @@ -41,7 +42,7 @@ export default defineConfig({
input: {
main: resolve(__dirname, 'index.html'),
app: resolve(__dirname, 'app/index.html'),
merge: resolve(__dirname, 'merge/index.html'),
embed: resolve(__dirname, 'embed/index.html'),
},
output: {
assetFileNames: 'assets/[name]-[hash][extname]',
Expand Down

0 comments on commit 68c205b

Please sign in to comment.