1
0
mirror of https://github.com/thib8956/tic-tac-toe-ws.git synced 2024-11-17 01:16:33 +00:00

fix page artifact path in workflow

This commit is contained in:
Thibaud Gasser 2024-09-25 20:36:23 +02:00 committed by Thibaud
parent 4c7673475d
commit 97a6a3b64f

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: