Browse Source

🐛 bugfix: fix action if error

antd@4
chenshuai2144 6 years ago
parent
commit
2bee817280
  1. 1
      .github/workflows/ci.yml
  2. 2
      .github/workflows/deploy.yml

1
.github/workflows/ci.yml

@ -15,6 +15,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- run: echo ${{github.ref}}
- run: yarn
- run: yarn run lint
- run: yarn run tsc

2
.github/workflows/deploy.yml

@ -5,7 +5,7 @@ on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: github.ref == 'master'
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@master

Loading…
Cancel
Save