Skip to content

Commit

Permalink
only build on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerLamTd committed Jan 6, 2025
1 parent 8e5ca38 commit db5e26b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/taiko-client--pages.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: GitHub Pages
name: "Taiko Client Github Pages"

on:
push:
branches:
- preconf-driver-apis
branches: [main]
paths:
- "packages/taiko-client/**"

jobs:
swagger-gen:
if: ${{ !contains(github.event.head_commit.message, 'Update Swagger documentation') }}
runs-on: [arc-runner-set]
steps:
- name: Checkout code
Expand Down Expand Up @@ -45,7 +45,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
deploy:
if: ${{ !contains(github.event.head_commit.message, 'Update Swagger documentation') }}
runs-on: [arc-runner-set]
needs: swagger-gen
permissions:
Expand Down

0 comments on commit db5e26b

Please sign in to comment.