From 97a6a3b64f2041f31e62b8e9f119ed7e68b1f6f8 Mon Sep 17 00:00:00 2001 From: Thibaud Date: Wed, 25 Sep 2024 20:36:23 +0200 Subject: [PATCH] fix page artifact path in workflow --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d791bc9..4df28eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: