We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d59cfa6 commit d22d415Copy full SHA for d22d415
.github/workflows/cf-logs-fetcher.yml
@@ -0,0 +1,23 @@
1
+name: CF Deployment Logs
2
+on:
3
+ issue_comment:
4
+ types: [created, edited]
5
+jobs:
6
+ fetch_comment_log:
7
+ if: ${{ (github.event.issue.pull_request) && (github.event.comment.user.login == 'cloudflare-pages[bot]' ) }}
8
+ runs-on: [ubuntu-latest]
9
+ steps:
10
+
11
+ - name: Fetch & Print The Deployment Logs
12
+ uses: agoric-labs/cf-logs-fetcher@v1
13
+ with:
14
+ cf_account_id: "0c4635effffcd7f36d1b9f0425a4367a"
15
+ cf_project: "documentation"
16
+ cf_token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
17
18
+ - name: Comment PR
19
+ uses: thollander/actions-comment-pull-request@v2
20
21
+ message: |
22
+ Cloudflare deployment logs are available [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
23
+ comment_tag: cflogs
0 commit comments