Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Get your Cloudflare Deployment Logs straight in your Previews.

License

NotificationsYou must be signed in to change notification settings

JDeepD/cloudflare-build-log

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Get your Cloudflare Build Logs in PRs.

Put this in your.github/workflows/action.yml

name:Fetch Deployment Logson:pull_request:types:[opened, synchronize]jobs:fetch-logs:runs-on:ubuntu-lateststeps:      -name:Checkout Codeuses:actions/checkout@v4      -name:Poll for Cloudflare Pages Build and Fetch Logsuses:JDeepD/cloudflare-build-log@0.1.5with:CLOUDFLARE_API_TOKEN:${{ secrets.CLOUDFLARE_API_TOKEN }}ACCOUNT_ID:${{ secrets.CLOUDFLARE_ACCOUNT_ID }}PROJECT_NAME:${{ secrets.CLOUDFLARE_PROJECT_NAME }}GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}COMMIT_SHA:${{ github.event.pull_request.head.sha }}

You need to put the following secrets in your repository:

SECRET NAMESECRET VALUE
CLOUDFLARE_PROJECT_NAMEYour Cloudflare Project Name. Go to Cloudflare Dashboard > Workers and Pages > Overview.
CLOUDFLARE_API_TOKENGenerate a Cloudflare API Token (not API Key) if not generated already with Read Permissions on Pages. Make sure to set the expiration of the token properly.
CLOUDFLARE_ACCOUNT_IDYou will find your Account ID on the Right Panel in Cloudflare Dashboard > Workers and Pages > Overview.

About

Get your Cloudflare Deployment Logs straight in your Previews.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp