Skip to content

Commit

Permalink
⚙️ Update theme to work with sub-directories
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Mar 11, 2024
1 parent e56375c commit 44d829b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy
name: Deploy Theme to Vercel
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
Expand All @@ -14,9 +14,13 @@ jobs:
with:
submodules: true
- run: npm install
working-directory: theme
- run: npx vercel pull --yes --token=${{ secrets.VERCEL_TOKEN }}
working-directory: theme
# This one for build in github actions:
- run: npx vercel build --prod
working-directory: theme
- run: npx vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
working-directory: theme
# This one for build on vercel:
# - run: npx vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit 44d829b

Please sign in to comment.