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:
parent
4c7673475d
commit
97a6a3b64f
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user