name: github pages on: push: branches: - master # Set a branch name to trigger deployment jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 1 - name: Setup Hugo uses: peaceiris/actions-hugo@v3 with: hugo-version: "0.144.2" extended: true - name: Build run: hugo --minify - run: npm ci - run: CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }} npx wrangler pages publish public --project-name blog-usbharu