This commit is contained in:
sparshg
2024-09-24 18:10:00 +05:30
parent 103ac813f9
commit 52c7b25393
2 changed files with 72 additions and 86 deletions

View File

@@ -16,11 +16,14 @@ jobs:
with:
node-version: 20
cache: npm
cache-dependency-path: 'app/package-lock.json'
- name: Install dependencies
working-directory: app
run: npm install
- name: build
working-directory: app
env:
BASE_PATH: '/${{ github.event.repository.name }}'
run: npm run build
@@ -29,7 +32,7 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
# this should match the `pages` option in your adapter-static options
path: 'build/'
path: 'app/build/'
deploy-site:
needs: build_site