Skip to content

Commit

Permalink
fix: try using wrangler directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ryscheng committed Oct 17, 2024
1 parent c3a38e3 commit ba723d9
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy-docusaurus-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ jobs:
- name: Build
run: pnpm build:docs

- name: Install rollup
run: pnpm add -g rollup
- name: Install wrangler
run: pnpm add -g wrangler

- name: Publish
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: "apps/docs"
command: pages deploy build --project-name=docs-kariba-network
run: wrangler pages deploy apps/docs/build --project-name=docs-kariba-network
# uses: cloudflare/wrangler-action@v3
# with:
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
# workingDirectory: "apps/docs"
# command: pages deploy build --project-name=docs-kariba-network

0 comments on commit ba723d9

Please sign in to comment.