Skip to content

Commit

Permalink
chore: Fix CF deployment (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianGonz97 committed Apr 2, 2024
1 parent c99bc92 commit 61c376b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ jobs:
pull-requests: write
deployments: write
runs-on: ubuntu-latest
name: Deploy Preview to Cloudflare Pages (admin)
name: Deploy Preview to Cloudflare Pages
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
- uses: actions/setup-node@v3
with:
node-version: 20

Expand All @@ -51,7 +51,7 @@ jobs:
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docs-production.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docs Production Deployment
name: Docs - Production Deployment
on:
push:
branches:
Expand All @@ -17,11 +17,11 @@ jobs:
deployments: write
name: Publish to Cloudflare Pages
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
- uses: actions/setup-node@v3
with:
node-version: 20

Expand All @@ -31,7 +31,7 @@ jobs:
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ vite.config.ts.timestamp-*
.vercel

## contentlayer build output
.contentlayer
.contentlayer

0 comments on commit 61c376b

Please sign in to comment.