fix page artifact path in workflow

This commit is contained in:
thib8956 authored and Thibaud committed 2024-09-25 21:08:04 +02:00
1 parent 4c7673475d
commit 97a6a3b64f
1 file changed
+8 -2
+8 -2
View File
@@ -12,12 +12,18 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
- name: Install and Build
run: |
npm ci
npx tsc
mkdir dist
mv *.js dist/
mv *.html dist/
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: dist
# Deploy job
deploy: