From eb63b8305364a40c57f61806aa33c5f0c37a153f Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Thu, 14 Mar 2024 18:24:50 +0900 Subject: [PATCH] =?UTF-8?q?ci=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-page.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build-page.yaml b/.gitea/workflows/build-page.yaml index 9239a09..3b6a75e 100644 --- a/.gitea/workflows/build-page.yaml +++ b/.gitea/workflows/build-page.yaml @@ -21,12 +21,5 @@ jobs: - name: Build run: hugo --minify - - name: Publish to Cloudflare Pages - uses: cloudflare/pages-action@v1 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: 76906b4e38909e314e89939ec9f8e485 - projectName: blog-usbharu - directory: public - # Optional: Enable this if you want to have GitHub Deployments triggered - gitHubToken: ${{ secrets.GITHUB_TOKEN }} + - run: npm ci + - run: CLOUDFLARE_API_TOKEN${{ secrets.CLOUDFLARE_API_TOKEN }} npx wrangler pages publish public -project-name blog-usbharu