We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d6d383 + 0b823c2 commit 4b3f497Copy full SHA for 4b3f497
.github/workflows/cf-logs-fetcher.yml
@@ -0,0 +1,22 @@
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
+ - name: Fetch & Print The Deployment Logs
11
+ uses: agoric-labs/cf-logs-fetcher@v1
12
+ with:
13
+ cf_account_id: '0c4635effffcd7f36d1b9f0425a4367a'
14
+ cf_project: 'dapp-psm'
15
+ cf_token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
16
+
17
+ - name: Comment PR
18
+ uses: thollander/actions-comment-pull-request@v2
19
20
+ message: |
21
+ Cloudflare deployment logs are available [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
22
+ comment_tag: cflogs
0 commit comments