Skip to content

Commit 37d38ff

Browse files
committed
try this
1 parent 8ed0e68 commit 37d38ff

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI
22
on: [push]
33
jobs:
4+
45
Build:
56
runs-on: ${{ matrix.os }}
67
strategy:
@@ -34,14 +35,9 @@ jobs:
3435
- name: Run test
3536
run: ./bin/test
3637

37-
name: Build and Deploy Documentation
38-
on:
39-
push:
40-
branches:
41-
- master
42-
jobs:
43-
build-and-deploy:
38+
Deploy:
4439
runs-on: ubuntu-latest
40+
if: {{ github.ref == 'ref/head/master' }}
4541
steps:
4642
- name: Checkout code
4743
uses: actions/checkout@v1

0 commit comments

Comments
 (0)