Skip to content

Commit 0967fab

Browse files
authored
Clean up deploy.yml by removing unused code
Removed commented-out code for fetching PR number.
1 parent d8c576c commit 0967fab

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,6 @@ jobs:
118118
- name: Checkout code
119119
uses: actions/checkout@v4
120120

121-
#- name: Get PR number from GitHub API
122-
# id: pr
123-
# run: |
124-
# PR_API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/commits/${GITHUB_SHA}/pulls"
125-
# PR_NUMBER=$(curl -s -H "Accept: application/vnd.github.groot-preview+json" \
126-
# -H "Authorization: Bearer $GITHUB_TOKEN" \
127-
# $PR_API_URL | jq '.[0].number')
128-
# echo "pr_number=$PR_NUMBER"
129-
# env:
130-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131-
132121
- name: Download artifacts
133122
uses: actions/download-artifact@v4
134123
with:

0 commit comments

Comments
 (0)