Skip to content

Commit 80cc32a

Browse files
committed
Fix workflow again, remove redundant build step
- The update-pull-request action expects to create the branch, so it was resetting the changes and then had nothing to do. - Also removing the "Build site" step from the PR workflow; it's redundant since Vercal does this too.
1 parent cbd5760 commit 80cc32a

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

.github/workflows/_static-checks.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,3 @@ jobs:
2525

2626
- name: Run Prettier
2727
run: npm run prettier
28-
29-
build:
30-
name: Build site
31-
runs-on: ubuntu-latest
32-
steps:
33-
- name: Checkout Repository
34-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
35-
36-
- name: Setup
37-
uses: ./.github/actions/setup
38-
39-
- name: Build site
40-
run: npm run build

.github/workflows/update-toolhive-reference.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,6 @@ jobs:
3939
echo "changed=true" >> $GITHUB_OUTPUT
4040
fi
4141
42-
- name: Create branch, commit, and push
43-
if: steps.git-diff.outputs.changed == 'true'
44-
run: |
45-
BRANCH=update-toolhive-reference-${VERSION}
46-
git checkout -b "$BRANCH"
47-
git commit -am "Update ToolHive reference docs for ${VERSION}"
48-
git push origin "$BRANCH"
49-
git checkout main
50-
env:
51-
VERSION: ${{ steps.imports.outputs.version }}
52-
5342
- name: Create Pull Request
5443
if: steps.git-diff.outputs.changed == 'true'
5544
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6

0 commit comments

Comments
 (0)