Skip to content

Commit 9b07e02

Browse files
committed
ci(all): fix error
1 parent 210554d commit 9b07e02

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
lint:
14-
if: '!contains(github.event.head_commit.message, "[skip check]")'
14+
if: ${{ !contains(github.event.head_commit.message, '[skip check]') }}
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
@@ -35,7 +35,7 @@ jobs:
3535
run: nr lint
3636

3737
typecheck:
38-
if: '!contains(github.event.head_commit.message, "[skip check]"")'
38+
if: ${{ !contains(github.event.head_commit.message, '[skip check]') }}
3939
runs-on: ubuntu-latest
4040
steps:
4141
- uses: actions/checkout@v3
@@ -59,7 +59,7 @@ jobs:
5959
run: nr typecheck
6060

6161
test:
62-
if: '!contains(github.event.head_commit.message, "[skip check]")'
62+
if: ${{ !contains(github.event.head_commit.message, '[skip check]') }}
6363
runs-on: ${{ matrix.os }}
6464

6565
strategy:

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ name: Deploy GitHub Pages
22

33
on:
44
push:
5-
branches:
6-
- main
5+
tags:
6+
- 'v*'
77

88
jobs:
99
build-and-deploy:
10-
if: 'contains(github.event.head_commit.message, "playground") || contains(github.event.head_commit.message, "all")'
1110
runs-on: ubuntu-latest
1211

1312
steps:

0 commit comments

Comments
 (0)