Skip to content

Commit

Permalink
Update docs_deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kawaijoe authored Jun 25, 2024
1 parent a90f6fa commit 778becc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ jobs:
- uses: actions/configure-pages@v4

- run: pnpm install
- run: NEXT_PUBLIC_DEMO_URL=${{ env.DEMO_URL }} pnpm run export
- run: NEXT_PUBLIC_DEMO_URL=${{ vars.DEMO_URL }} pnpm run export

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ env.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ env.CLOUDFLARE_DOCS_PROJECT_NAME }}
accountId: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ vars.CLOUDFLARE_DOCS_PROJECT_NAME }}
directory: ./docs/out
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -82,7 +82,7 @@ jobs:
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ env.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ env.CLOUDFLARE_DEMO_PROJECT_NAME }}
accountId: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ vars.CLOUDFLARE_DEMO_PROJECT_NAME }}
directory: ./samples/build/web
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 778becc

Please sign in to comment.