Skip to content

Commit

Permalink
chore(deployment): add workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
sfbiberachadmin committed Oct 4, 2023
1 parent e8a3979 commit 56945a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Identify package manager
id: pkgman
Expand All @@ -45,12 +45,12 @@ jobs:
echo "cache=$cache" >> $GITHUB_OUTPUT
echo "package_manager=$package_manager" >> $GITHUB_OUTPUT
- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v2.4.0
if: ${{ steps.pkgman.outputs.package_manager == 'pnpm' }}
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8

- uses: actions/setup-node@v3
with:
Expand All @@ -64,13 +64,13 @@ jobs:
run: ${{ steps.pkgman.outputs.package_manager }} add -D @nuxthq/studio

- name: Create .nuxtrc
run: echo 'modules[]=@nuxthq/studio' > .nuxtrc
run: echo '\nautoImport=true\nmodules[]=@nuxthq/studio' >> .nuxtrc

- name: Generate
run: npx nuxi generate
env:
NUXT_PUBLIC_STUDIO_API_URL: https://api.nuxt.studio
NUXT_PUBLIC_STUDIO_TOKENS: 87e8466ce8e4aebf79e2eedee50e6c14a172530a0f209ab8831686cd38a9dd07
NUXT_PUBLIC_STUDIO_TOKENS: 363950951f56fa3a69b0577371fcc4c0f031d19c0cd243a4bbde9349ceb38971

- name: Add .nojekyll file
run: touch .output/public/.nojekyll
Expand Down

0 comments on commit 56945a2

Please sign in to comment.