Skip to content

Commit

Permalink
Another test
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Oct 25, 2023
1 parent b310584 commit 0e733f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/editors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- name: Move Files
run: |
mkdir out
mkdir out/markdown
mkdir out/richtext
mv editors/*.* out/
- name: Build Markdown
Expand All @@ -26,15 +28,14 @@ jobs:
npm i
npm run build-editor
mv dist/index.html dist/old-markdown.html
mv dist/* ../../out/
mv dist/* ../../out/markdown
- name: Build Rich Text
run: |
cd editors/richtext
npm i
npm run build-editor
mv dist/index.html dist/old-richtext.html
mv dist/* ../../out/
mv dist/* ../../out/richtext/
- name: Deploy
uses: JamesIves/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion editors/markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build-editor": "tsc && vite build --base=/editors/",
"build-editor": "tsc && vite build --base=/editors/markdown/",
"preview": "vite preview",
"server-local": "docker run -p 3100:3100 -v dist/index.html:/usr/share/caddy/index.html caddy caddy --root /var/www/html --listen :3100 --browse"
},
Expand Down
2 changes: 1 addition & 1 deletion editors/richtext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build-editor": "tsc && vite build --base=/editors/",
"build-editor": "tsc && vite build --base=/editors/richtext",
"preview": "vite preview"
},
"devDependencies": {
Expand Down

0 comments on commit 0e733f1

Please sign in to comment.