Skip to content

Commit

Permalink
wf updated
Browse files Browse the repository at this point in the history
  • Loading branch information
darsan-in committed Jul 23, 2024
1 parent ce1fb01 commit a48fb08
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
PAT: ${{ secrets.PAT }}
run: |
git clone https://x-access-token:${PAT}@github.com/cresteem/BONSE.git
- name: Detect package manager
id: detect-package-manager
working-directory: BONSE
Expand All @@ -49,7 +49,6 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
working-directory: BONSE
node-version: "21"
cache-dependency-path: |
BONSE/yarn.lock
Expand All @@ -63,7 +62,7 @@ jobs:
- name: Restore cache
uses: actions/cache@v4
with:
path: BONSE/.next/cache
path: BONSE/bonse_out/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('BONSE/**/package-lock.json', 'BONSE/**/yarn.lock') }}-${{ hashFiles('BONSE/**.[jt]s', 'BONSE/**.[jt]sx') }}
restore-keys: ${{ runner.os }}-nextjs-${{ hashFiles('BONSE/**/package-lock.json', 'BONSE/**/yarn.lock') }}-

Expand All @@ -78,7 +77,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: BONSE/bonse_out # Adjust to your actual output directory
path: BONSE/bonse_out # Adjust to your actual output directory

deploy:
environment:
Expand Down

0 comments on commit a48fb08

Please sign in to comment.