mirror of
https://github.com/thib8956/tic-tac-toe-ws.git
synced 2025-01-12 04:41:06 +00:00
fix page artifact path in workflow
This commit is contained in:
parent
4c7673475d
commit
97a6a3b64f
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -12,12 +12,18 @@ jobs:
|
|||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v4
|
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: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npx tsc
|
npx tsc
|
||||||
|
mkdir dist
|
||||||
|
mv *.js dist/
|
||||||
|
mv *.html dist/
|
||||||
|
|
||||||
- name: Upload GitHub Pages artifact
|
- name: Upload GitHub Pages artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
with:
|
||||||
|
path: dist
|
||||||
|
|
||||||
# Deploy job
|
# Deploy job
|
||||||
deploy:
|
deploy:
|
||||||
|
Loading…
Reference in New Issue
Block a user