Skip to content

Commit

Permalink
chore: fix CI invalid yml file format
Browse files Browse the repository at this point in the history
- see this GitHub [comment](actions/runner#1019 (comment))
  • Loading branch information
ghiscoding authored Sep 25, 2023
1 parent acd7888 commit e3acaff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: yarn test:ci

- name: Upload Jest coverage to Codecov
if: "!contains(github.event.head_commit.message, 'chore: release')"
if: ${{ !contains(github.event.head_commit.message, format('chore{0} release', ':')) }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Deploy to gh-pages
if: |
github.ref == 'refs/heads/master' &&
contains(github.event.head_commit.message, 'chore: release') || contains(github.event.head_commit.message, '[update github demo]')
contains(github.event.head_commit.message, format('chore{0} release', ':')) || contains(github.event.head_commit.message, '[update github demo]')
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e3acaff

Please sign in to comment.