Skip to content

Commit

Permalink
[skip ci] CI now can be skip-able
Browse files Browse the repository at this point in the history
  • Loading branch information
MisaLiu authored Feb 15, 2024
1 parent 1f3514d commit f28e9c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ permissions:
id-token: write

jobs:
check_ci_skip:
runs-on: ubuntu-latest
outputs:
can_skip: ${{ steps.check.outputs.can_skip }}
steps:
- id: "Check commit message"
uses: Legorooj/skip-ci@main

deploy:
needs: check_ci_skip
if: ${{ needs.check_ci_skip.outputs.can_skip != 'true' }}

runs-on: ubuntu-latest
environment:
name: github-pages
Expand Down

0 comments on commit f28e9c3

Please sign in to comment.