Skip to content

Commit

Permalink
chore(deployment): update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien authored Sep 16, 2024
1 parent e5d3e06 commit b5d9ad7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Identify package manager
id: pkgman
run: |
cache=`[ -f "pnpm-lock.yaml" ] && echo "pnpm" || ([ -f "package-lock.json" ] && echo "npm" || ([ -f "yarn.lock" ] && echo "yarn" || echo ""))`
cache=`[ -f "docs/pnpm-lock.yaml" ] && echo "pnpm" || ([ -f "docs/package-lock.json" ] && echo "npm" || ([ -f "docs/yarn.lock" ] && echo "yarn" || echo ""))`
package_manager=`[ ! -z "$cache" ] && echo "$cache" || echo "pnpm"`
echo "cache=$cache" >> $GITHUB_OUTPUT
echo "package_manager=$package_manager" >> $GITHUB_OUTPUT
Expand All @@ -50,7 +50,7 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
version: 9.10.0
version: 9

- uses: actions/setup-node@v4
with:
Expand All @@ -70,7 +70,7 @@ jobs:
run: npx nuxi build --preset github_pages
env:
NUXT_PUBLIC_STUDIO_API_URL: https://api.nuxt.studio

NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}

# Deployment job
- name: Deploy 🚀
Expand Down

0 comments on commit b5d9ad7

Please sign in to comment.