Skip to content

Commit

Permalink
πŸ› bugfix: fix action if error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Mar 1, 2020
1 parent be3d4a2 commit 2bee817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bee817

Please sign in to comment.