Skip to content

Commit dd3aaf5

Browse files
committed
refactor: don't comment on commit
1 parent 88aa9f9 commit dd3aaf5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
permissions:
19-
contents: write
19+
contents: read
2020
deployments: write
2121
pull-requests: write
2222

@@ -54,14 +54,8 @@ jobs:
5454
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
5555
command: pages deploy build --project-name=revanced-counterfeits
5656

57-
- name: Comment deployment URL on Pull Request
57+
- name: Comment deployment URL
5858
if: ${{ github.event_name == 'pull_request' }}
5959
uses: thollander/actions-comment-pull-request@v2
6060
with:
6161
message: Deployed at ${{ steps.deploy.outputs.deployment-url }}.
62-
63-
- name: Comment deployment URL on Commit
64-
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
65-
uses: peter-evans/commit-comment@v3
66-
with:
67-
body: Deployed at ${{ steps.deploy.outputs.deployment-url }}.

0 commit comments

Comments
 (0)