Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Varixo committed Jul 23, 2024
1 parent 49395d5 commit 1dfbaca
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,19 @@ jobs:
packages/docs/dist
packages/docs/server
# not the official version, so be careful when updating
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'
registry-url: https://registry.npmjs.org/

- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
node-version: 20.x
cache: 'pnpm'
registry-url: https://registry.npmjs.org/
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy packages/docs/dist --project-name=qwik-docs
Expand Down

0 comments on commit 1dfbaca

Please sign in to comment.